theonion / fartscroll.js

You want fart noises as you scroll? We've got you covered.
MIT License
2.83k stars 240 forks source link

Random range fart interval #35

Closed AaronTraas closed 5 years ago

AaronTraas commented 11 years ago

Now you can (optionally) specify 2 numbers when invoking fartscroll, e.g.:

fartscroll(400, 800);

Then, each time the fart sound is played, it'll select a new random trigger distance between the two numbers specified.

Specifying only one number still works the same as it did before.

ozh commented 11 years ago

Another cool option may be to add a parameter to randomly enable the script. I think this would add to the "huh wtf happened" factor if the "prank" is less reproducible.