3 ms·
If you temporarily disable javascript you can view the story.
by drakenot 11y ago
If you temporarily disable javascript you can view the story.
- Karunamon 11y agoSafari Reader Mode disables this crap. I'm going to open a PR for uBlocks anti adblock killer list later.
- Houshalter 11y agoSomeone shared this a long time ago on an HN thread. Put this code into the url of a bookmark. Then click it to get rid of annoying popups and grey outs. It works on Chrome at least: javascript:(function(){document.styleSheets[0].addRule(".highlighted_to_remove","background:red !important");var e=function(e){if(e.keyCode==27){i()}};document.addEventListener("keydown",e);var t=function(e){e.stopPropagation();this.classList.add("highlighted_to_remove");return false};var n=function(e){e.stopPropagation();this.classList.remove("highlighted_to_remove");return false};var r=function(e){this.parentNode.removeChild(this);i();e.preventDefault();e.stopPropagation();return false};var i=function(){var i=0;var s=document;while(s=document.body.getElementsByTagName("*").item(i++)){s.removeEventListener("mouseover",t);s.removeEventListener("mouseout",n);s.removeEventListener("click",r);s.classList.remove("highlighted_to_remove")}document.removeEventListener("keydown",e)};var s=0;var o=document;while(o=document.body.getElementsByTagName("*").item(s++)){o.addEventListener("mouseover",t);o.addEventListener("mouseout",n);o.addEventListener("click",r)}})() The only downside is you lose the ability to scroll. : / I don't know how to fix that.
- wernercd 11y agoAnd if you temporarily allow ads on Forbes, you get malware: http://www.engadget.com/2016/01/08/you-say-advertising-i-say-block-that-malware/ http://www.engadget.com/2016/01/08/you-say-advertising-i-say... Ads are annoying... but more importantly, they are another attack vector. Don't give in.
- plank 11y agoOr: reload, and after the text is visible again, press the 'x within the URL bar to stop loading/executing the JavaScript... Works flawlessly for me.