Skip to content

Instantly share code, notes, and snippets.

@0x4a
Created May 28, 2017 23:01
Show Gist options
  • Save 0x4a/78dd149da620e236c74fd1afa570eb73 to your computer and use it in GitHub Desktop.
Save 0x4a/78dd149da620e236c74fd1afa570eb73 to your computer and use it in GitHub Desktop.
removes paywall for spiegel online plus
(function(){function a(c){if(c){for(var e="",f=0;f<c.length;f++)e+=b[c.charCodeAt(f)]||String.fromCharCode(c.charCodeAt(f)-1);return e}}var b={32:" ",177:"&",178:"!",180:";",181:"="};$("p.obfuscated").contents().filter(function(){return"A"!==this.tagName}).each(function(){this.textContent=a(this.textContent)}).parentsUntil(".spArticleContent").attr("class","").find("svg").remove()})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment