od.js

Turn on old driver mode for HacgGodTurn

Stan na 29-09-2016. Zobacz najnowsza wersja.

Ten skrypt nie powinien być instalowany bezpośrednio. Jest to biblioteka dla innych skyptów do włączenia dyrektywą meta // @require https://update.sleazyfork.org/scripts/23522/149747/odjs.js

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

function processTxt(e){var t=e.innerHTML;t=t.replace(/\s?本站不提供下载\s?/i,"");t=t.replace(/\s?保护作者版权\s?/i,"");if(regObj.btih.test(t)){var r=t.match(regObj.btih);for(j=0;j<r.length;j++)linkArr.btih=hashFunc(r[j])[3]+'<a href="magnet:?xt=urn:btih:'+hashFunc(r[j])[2]+'" >磁力链接 </a>',linkArr.btih+=' →<a href="http://www.torrent.org.cn/Home/Convert/magnet2torrent.html?hash='+hashFunc(r[j])[2]+'" target="_blank" title="需要先注册登陆">【下载种子】</a>',t=t.replace(r[j],linkArr.btih)}t=t.replace(regObj.bdshare,linkArr.baidu),t=t.replace(regObj.howfile,linkArr.howf),t=t.replace(regObj.tcn,linkArr.tcn),t=t.replace(regObj.yyw,linkArr.yyw),t=t.replace(regObj.mega,linkArr.mega);console.log(e.innerHTML);console.log(t);console.log(e.innerHTML==t);if(e.innerHTML!=t)e.innerHTML=t;}function extCode(e){return text=e.textContent.trim(),simpleRule.test(text)?text.match(simpleRule)[1]:codeRule.test(text)?text.match(codeRule)[1]:""}function seriousReplace(e){var t=document.getElementsByClassName(e);for(var r in t)t[r]&&t[r].innerHTML&&(t[r].innerHTML=t[r].innerHTML.replace(/(?<=\s|\>|^|:)(\w{7,8})\b(?:\s(?:<br>|密码:|密码:|pw:|提取码:)?\s*([a-z0-9A-Z]{4}\b|[^\s\<]+?\s?(?=\<|$)))/gi,linkArr.baidu).replace(regObj.yyw,linkArr.yyw).replace(regObj.tcn,linkArr.tcn))}function hashFunc(e){return hashWord=e.match(/^\W*/g)[0],e=e.replace(/[\s\W]*/g,"").toUpperCase(),hashStart=e.slice(0,2),hashEnd=e.slice(-2),[hashStart,hashEnd,e,hashWord]}var simpleRule=/(?:提取|访问)[码碼]?\s*[:: ]?\\s*([a-z\\d]{4})/i,codeRule=/(?:提取|访问|密|艾)[码碼]?\s*[:: ]?\s*([a-z\d]{4}|\S*)/i,regObj={btih:/(?:[^\/=\|\"]|^)(?<!(?:md5|MD5)[:\:]\s?)\b([a-fA-F0-9]{40}|[a-zA-Z0-9]{32})\b/g,bdshare:/(?:\s|\>|^)(?:b?\/?s\/|.*度.*[::]|.*(?<!\s?href\s?=\s?\"\s?https?:\/\/)pan\.baidu\.com\/s\/)(\w{7,8})\b(?:\s+(?:.*[::])?(\w{4}\b|[^\s\<\=]+?\s?(?=\<|$)))?/g,howfile:/@?(?:HF|howfile)\/file\/(\w{4,10})\/(\w{8,})\/?/gi,tcn:/\bt\/(\w{7})/g,yyw:/(\/lb\/)?(5lb[a-zA-Z0-9]{8,12})/g,mega:/(?:\.co)?(\.nz\/(#[\w!-]{22,}))/g},linkArr=[];linkArr.btih="",linkArr.baidu="<a href='http://pan.baidu.com/s/$1#$2' target='_blank'>度娘:$1</a> $2",linkArr.howf="<a href='http://howfile.com/file/$1/$2/' target='_blank'>好盘:howfile.com/file/$1/$2</a>",linkArr.tcn="<a href='http://t.cn/$1' target='_blank'>短链:t.cn/$1</a>",linkArr.yyw="<a href='http://115.com/lb/$2' target='_blank'>115礼包:$2</a> ",linkArr.mega="<a href='https://mega.co$1' target='_blank'>MEGA网盘:$2</a>";var nod=document.createElement("style"),str=".oD_box{position:fixed;top:60px;right:0px;width:40px;transition: all 0.5s ease;white-space:nowrap;z-index:999} .oD_box:hover{width:210px}";nod.type="text/css",nod.styleSheet?nod.styleSheet.cssText=str:nod.innerHTML=str;