Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can't wait for all the browser extensions to be released. Install this in Chrome once and forget about it.


Even easier, just create a bookmark to which points to:

javascript:$('overlay').hide();$('gatewayCreative').hide();$(document.body).setStyle({overflow:'scroll'});

Ironically, I couldn't test it since the paywall never came up now matter how many articles I opened up.


I want a Chrome extension that does it in the background so I don't have to use a bookmarklet every time.


I made a user script for this a while ago: https://gist.github.com/880967 Just click one of the “raw” links to install.


If you just save this to a .user.js file, add the user script headers, and open that file in Chrome, it'll install it as an extension.

Edit: removed broken script.


That won’t work in all browsers. User scripts are executed in their own context and don’t know of plugins and libraries that are available on the page.

The good news is, you don’t need Prototype at all. I made this userscript this morning: https://gist.github.com/880967 Just click one of the “raw” links to install.


You're right, mine won't work. Taken down.


I made a user script for this a while ago: https://gist.github.com/880967 Just click one of the “raw” links to install.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: