Live data from Hacker News

The Onion releases fartscroll.js

theonion.github.io

111–120 of 129 posts

Re: The Onion releases fartscroll.js

#112

Earlier quoted context omitted.

I've read up on AdBlock, NoScript, Ghostery. I have no idea what differentiate's them. Some people run two or more. I have no idea if more means better. I don't have the gumption to splunk the code. I kinda wish either they'd declare each other competitors or embrace each other as compliments.

AdBlock blocks ads, Ghostery blocks "trackers", and NoScript blocks all JavaScript (and a few other dangerous potentials). NoScript doesn't necessarily block ads but it does block "trackers" by default. I used Ghostery for a while but found it redundant and onerous since I also run NoScript. I agree with the parent that said Ghostery was a poor man's NoScript, though Ghostery only blocks known trackers (analytics too…

Good summary! And just shows how much current web "stinks". There's a bunch of tools that advanced users can use to make the web experience more or less safe and tolerable. But I suspect (and sorry, I don't have any source to back up my suspicions) that the majority of the users have no idea that they are being tracked and targeted by bunch of nasty scripts, and more importantly how to fight against this. Makes one think that tools like Ghostery and NoScript should be built into the browsers and enabled by default.

Re: The Onion releases fartscroll.js

#113

Earlier quoted context omitted.

I've read up on AdBlock, NoScript, Ghostery. I have no idea what differentiate's them. Some people run two or more. I have no idea if more means better. I don't have the gumption to splunk the code. I kinda wish either they'd declare each other competitors or embrace each other as compliments.

AdBlock blocks ads, Ghostery blocks "trackers", and NoScript blocks all JavaScript (and a few other dangerous potentials). NoScript doesn't necessarily block ads but it does block "trackers" by default. I used Ghostery for a while but found it redundant and onerous since I also run NoScript. I agree with the parent that said Ghostery was a poor man's NoScript, though Ghostery only blocks known trackers (analytics too…

Doesn't Ghostery also block specific widgets and the like, which NoScript doesn't?

Re: The Onion releases fartscroll.js

#116

The sounds are included directly in the JS, which is pretty neat: https://github.com/theonion/fartscroll.js/blob/master/fartsc...

How did they convert the mp3/ogg into strings?

Base64 encoded. See: https://en.wikipedia.org/wiki/Data_URI_scheme

Re: The Onion releases fartscroll.js

#117
post #108

Earlier quoted context omitted.

Perhaps an MP3 => OGG JavaScript converter is in order.

In case it slipped right past your nose, the previous comments were a play-on-words in reference to the library.

It didn't, but I was wondering about the actual technical aspect of using a single asset type and a codec as a shiv.

Re: The Onion releases fartscroll.js

#118
post #60

Is there a way to make anyone accessing my home wifi network get this injected into their webpages (or random webpages)? I know there is that trick that lets you flip all the images or replace them with pics of something else (usually cats) but can you inject arbitrary js into pages also?

Have a look at this http://www.ex-parrot.com/pete/upside-down-ternet.html

Re: The Onion releases fartscroll.js

#120
After playing with this for about 3 seconds I realized this would be perfect for a ticking timebomb. The use case: You configure your freelance/consultation web app to start injecting this script 1 month after an invoice is due and not paid. I would bet the clients will be hurrying to pay your invoice after they get complaints of farting sounds coming from their website!
Post reply on HN