Created
May 28, 2017 23:01
-
-
Save 0x4a/78dd149da620e236c74fd1afa570eb73 to your computer and use it in GitHub Desktop.
removes paywall for spiegel online plus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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