• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

informationshallbefree/spiegel-plus-unlocker-firefox: A Firefox Addon to decrypt ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

informationshallbefree/spiegel-plus-unlocker-firefox

开源软件地址:

https://github.com/informationshallbefree/spiegel-plus-unlocker-firefox

开源编程语言:

JavaScript 100.0%

开源软件介绍:

#Spiegel Plus Unblocker

========= Englisch =========
An Addon with the function to unblock the paywall at spiegel.de for Spiegel Plus content

Here is the raw script: https://raw.githubusercontent.com/informationshallbefree/spiegel-plus-unlocker-firefox/master/data/unblock.js

Just coyp the code below

javascript:(function(){if(window.location.host=="www.spiegel.de"){spiegel()}else%20if(window.location.host=="www.bergedorfer-zeitung.de"){bergische()}function%20spiegel(){document.getElementsByClassName("lp_mwi_payment-method-wrapper")[0].parentNode.parentNode.style.display='none';var%20obfuscated_intro=document.getElementsByClassName("js-spiegelplus-obfuscated-intro")[0];obfuscated_intro.style.display='none';obfuscated_intro.parentNode.parentNode.className='';texts=document.getElementsByClassName("obfuscated");text_count=texts.length;var%20escape;var%20new_content;escape=false;for(i=0;i<text_count;i++){new_content='';for(j=0;j<texts[i].innerHTML.length;j++){if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==97){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j-1)==62&&texts[i].innerHTML.charCodeAt(j-2)==97&&texts[i].innerHTML.charCodeAt(j-3)==47&&texts[i].innerHTML.charCodeAt(j-4)==60){escape=false}if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==98){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==47&&texts[i].innerHTML.charCodeAt(j+2)==98){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j-3)==47&&texts[i].innerHTML.charCodeAt(j-2)==98&&texts[i].innerHTML.charCodeAt(j-1)==62){escape=false}else%20if(texts[i].innerHTML.charCodeAt(j-3)==60&&texts[i].innerHTML.charCodeAt(j-2)==98&&texts[i].innerHTML.charCodeAt(j-1)==62){escape=false}if(escape){new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j))}else{if(texts[i].innerHTML.charCodeAt(j)!=32&&texts[i].innerHTML.charCodeAt(j)!=10){new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j)-1)}else{new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j))}}}texts[i].innerHTML=new_content}}function%20bergische(){texts=document.getElementsByTagName("div");text_count=texts.length;var%20target=0;for(i=0;i<text_count;i++){if(texts[i].innerHTML=="Jetzt%20lesen,%20sp%C3%A4ter%20zahlen"){target=i-4;break}}texts[target].innerHTML="";document.getElementsByTagName("body")[0].className=document.getElementsByTagName("body")[0].className.replace(/\bunpurchased\b/,'')}})();

into a bookmark in your Bookmarks Toolbar. This is a link which you can use for decoding Spiegel Plus. See https://support.mozilla.org/en-US/kb/create-bookmarks-save-your-favorite-webpages for more.

The Addon is currently wip... sorry

For those who want to point out that we could change the scripts content all time, yes that's true, but only to keep it up-to-date. Feel free to copy and host the script for yourself :)


========= Deutsch =========
Ein Addon, das die Paywall auf spiegel online umgeht.

Hier ist das Script: https://raw.githubusercontent.com/informationshallbefree/spiegel-plus-unlocker-firefox/1.0.3/data/unblock.js

Kopiere einfach den Code

javascript:(function(){if(window.location.host=="www.spiegel.de"){spiegel()}else%20if(window.location.host=="www.bergedorfer-zeitung.de"){bergische()}function%20spiegel(){document.getElementsByClassName("lp_mwi_payment-method-wrapper")[0].parentNode.parentNode.style.display='none';var%20obfuscated_intro=document.getElementsByClassName("js-spiegelplus-obfuscated-intro")[0];obfuscated_intro.style.display='none';obfuscated_intro.parentNode.parentNode.className='';texts=document.getElementsByClassName("obfuscated");text_count=texts.length;var%20escape;var%20new_content;escape=false;for(i=0;i<text_count;i++){new_content='';for(j=0;j<texts[i].innerHTML.length;j++){if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==97){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j-1)==62&&texts[i].innerHTML.charCodeAt(j-2)==97&&texts[i].innerHTML.charCodeAt(j-3)==47&&texts[i].innerHTML.charCodeAt(j-4)==60){escape=false}if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==98){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j)==60&&texts[i].innerHTML.charCodeAt(j+1)==47&&texts[i].innerHTML.charCodeAt(j+2)==98){escape=true}else%20if(texts[i].innerHTML.charCodeAt(j-3)==47&&texts[i].innerHTML.charCodeAt(j-2)==98&&texts[i].innerHTML.charCodeAt(j-1)==62){escape=false}else%20if(texts[i].innerHTML.charCodeAt(j-3)==60&&texts[i].innerHTML.charCodeAt(j-2)==98&&texts[i].innerHTML.charCodeAt(j-1)==62){escape=false}if(escape){new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j))}else{if(texts[i].innerHTML.charCodeAt(j)!=32&&texts[i].innerHTML.charCodeAt(j)!=10){new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j)-1)}else{new_content+=String.fromCharCode(texts[i].innerHTML.charCodeAt(j))}}}texts[i].innerHTML=new_content}}function%20bergische(){texts=document.getElementsByTagName("div");text_count=texts.length;var%20target=0;for(i=0;i<text_count;i++){if(texts[i].innerHTML=="Jetzt%20lesen,%20sp%C3%A4ter%20zahlen"){target=i-4;break}}texts[target].innerHTML="";document.getElementsByTagName("body")[0].className=document.getElementsByTagName("body")[0].className.replace(/\bunpurchased\b/,'')}})();

in ein Lesezeichen. Dieser Code umgeht die Paywall. Schau hier: https://support.mozilla.org/de/kb/Lesezeichen-sichern-und-wiederherstellen für mehr Informationen.

Das Addon ist noch in Arbeit... Sorry

Für die jenigen, die der Meinung sind, dass wir das Script jederzeit verändern können, ja das können wir, aber nur um es aktuell zu halten. Fühlt euch frei es jederzeit zu kopieren und selber zu hosten.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap