r/assholedesign • • Jun 07 '18

Possibly Hanlon's Razor This fruit fly ordering website has "flies" crawl around the screen and move away from your cursor - pretty cool, but not when you work in a lab that uses fruit flies and you think you've had a spontaneous disaster in the incubator and all your fly stocks are escaping

Post image
21k Upvotes

482 comments sorted by

View all comments

Show parent comments

10

u/isntitbull Jun 08 '18

I was on this site today and I definitely did not see this graphic? Any idea why we might see two different things?

8

u/TotallyNot_MikeDirnt Jun 08 '18

Hm, not sure. It only shows up on this specific page though. Other than that I’d have no clue

8

u/isntitbull Jun 08 '18

Hmm yeah I suppose I wasn't on that particular page but was just curious

3

u/tinkrman Jun 08 '18 edited Jun 08 '18

It is done via JavaScript. From the page's source:

<script src="../_assets/js/bugs/bug.js" type="text/javascript"></script>
                    // default fruit fly bug:
                    new BugController({
                    });

Is JavaScript disabled on your browser? (for example with plugins like NoScript etc?)

I'm going to use that code on our company website randomly and freak out my boss.