Spiegel-Online Nag Screens

So apparently, spiegel.de now hides itself behind mostly nagging pay walls. They even got coverage from El Fefe, and of course they are not only asking you to pay for “plus” articles, which I happily do, they also throw ad block nag screens in their reader’s way. Recently, a German court has decided that ad blockers are legal. And of the user decides what should happen on his computer, which program to run… In that sense, Davide Bove recently posted some code on how to remove those nagging parts. Here is a concatenated code that you can simply use as a favorite in your browser (Ctrl+D on some site, give it some title, then edit the favorite and paste the entire code, in one line, into the address of the favorite):

 

javascript:void%20function(e){var%20t=function(e){var%20t=function(e,o){if(0%3Eo)return%20t(e,o+26);for(var%20n=%22%22,a=0;a%3Ce.length;a++){var%20d=e[a],r=e.charCodeAt(a);r%3E=33%26%26256%3E=r%26%26(d=String.fromCharCode(r-1)),n+=d}return%20n};objs=e(%22.obfuscated%22);for(var%20o=0;o%3Cobjs.length;++o)decoded=t(objs[o].innerText),node=e(objs[o]),node.length%3E0%26%26(contents=node.contents(),contents.each(function(o,n){decoded=t(e(n).text()),e(n).is(%22a%22)%3F(decoded=t(node.text()),node.text(decoded)):e(n).is(%22.deobfuscated%22)||(n.textContent=decoded)}));e(%22.obfuscated-content%22).removeClass(%22obfuscated-content%22),e(%22.laterpay-under-overlay%22).next().removeClass(),e(%22%23LaterPay%22).children().first().removeClass()},o=e%26%26e.fn%26%26parseFloat(e.fn.jquery)%3E=1.7;if(o)t(e);else{var%20n=document.createElement(%22script%22);n.src=%22//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js%22,n.onload=n.onreadystatechange=function(){var%20e=this.readyState;e%26%26%22loaded%22!==e%26%26%22complete%22!==e||t(jQuery.noConflict())}}document.getElementsByTagName(%22head%22)[0].appendChild(n);var%20ele%20=%20document.getElementsByClassName('ua-detected')[0];%20ele.parentNode.removeChild(ele);document.getElementById("wrapper-content").style="";}(window.jQuery);

 

Update as of March, 2018: The above ad block blocker stopped working earlier this year; it still works with regards to the Spiegel Plus content, but they have changed the ad block to be even more aggressive. According to this site, which I could confirm, you need to block

@@||ad.doubleclick.net/ddm/ad/$image,domain=spiegel.de

in your ad blocker, and also you need to block

spiegel-de.spiegel.de

in your JavaScript blocker. A JavaScript blocker that appears to work well on Safari on Mac is this one.

Share