|
42 | 42 | // @include http*://www.acgzone.org/* |
43 | 43 | // @include http*://uraban.me/* |
44 | 44 | // @include http*://www.uraban.me/* |
45 | | -// @version 3.20.04 |
| 45 | +// @version 3.20.05 |
46 | 46 | // @grant GM_notification |
47 | 47 | // @grant GM_xmlhttpRequest |
48 | 48 | // @run-at document-end |
49 | | -// @require https://greasyfork.org/scripts/23522/code/od.js?version=154553 |
| 49 | +// @require https://greasyfork.org/scripts/23522/code/od.js?version=154564 |
50 | 50 | // @require https://cdn.jsdelivr.net/crypto-js/3.1.2/components/core-min.js |
51 | 51 | // @require https://cdn.jsdelivr.net/crypto-js/3.1.2/rollups/aes.js |
52 | 52 | // @license MIT License |
|
318 | 318 | } |
319 | 319 | },500); |
320 | 320 | } |
| 321 | + changeUrl(true,[["a"],[['https?:\/\/[^\.]*(\.)?sijihuisuo\.club\/go\/\?url=','']]]); |
321 | 322 | break; |
322 | 323 | case "hacg": |
323 | 324 | var feiZaos=document.getElementsByTagName("p1"); |
|
351 | 352 | title.innerHTML+="</br> <a href=\"#pa8\" style=\"color:#e30000\">\u2605\u5c0f\u0038\u9171\u2605<\/a>"; |
352 | 353 | } |
353 | 354 | } |
| 355 | + changeUrl(true,[["a"],[['^http:','https:']]]); |
354 | 356 | break; |
355 | 357 | case "sexacg": |
356 | 358 | contentArea='article'; |
|
365 | 367 | break; |
366 | 368 | case "acggj": |
367 | 369 | if(isHttps){ |
368 | | - st2https(true,[["a","img","script","link"],[['p:(\/\/|\\\\\\/\\\\\\/)(www\.|bbs\.)?acggj','ps:$1$2acggj']]]); |
| 370 | + changeUrl(true,[["a","img","script","link"],[['p:(\/\/|\\\\\\/\\\\\\/)(www\.|bbs\.)?acggj','ps:$1$2acggj']]]); |
369 | 371 | var baseUrl=document.querySelector('base'); |
370 | 372 | if(baseUrl)baseUrl.href=baseUrl.href.replace(/http:/,"https:"); |
371 | 373 | } |
|
387 | 389 | contentArea='.article-content'; |
388 | 390 | break; |
389 | 391 | case "acglover": |
390 | | - st2https(true,[["a","img"],[['acglover\.net','acglover\.top']]]); |
| 392 | + changeUrl(true,[["a","img"],[['acglover\.net','acglover\.top']]]); |
391 | 393 | break; |
392 | 394 | case "idanmu": |
393 | 395 | var resets = document.querySelectorAll('body>style'); |
|
466 | 468 | if(pass&&pass.id.indexOf("download-pwd")!=-1)target.href=target.href.split("#")[0]+'#'+pass.value; |
467 | 469 | }; |
468 | 470 | break; |
| 471 | + case "acg18": |
| 472 | + changeUrl(true,[["a"],[['https?:\/\/[^\.]*(\.)?acg18\.us\/go\/\?url=','']]]); |
469 | 473 | } |
470 | 474 | } |
471 | 475 |
|
|
595 | 599 | imgs = document.getElementsByTagName('img'); |
596 | 600 | } |
597 | 601 | for (i = 0, k = link.length; i < k; i++) { |
598 | | - if (isHttps && /.*http:[^\.]*(\.)?hacg\./i.test(link[i].href)) { |
599 | | - link[i].href = link[i].href.replace(/http/, 'https'); |
600 | | - }else if(/https?:\/\/[^\.]*(\.)?acg18\.us\/go\/\?url=/.test(link[i].href)){ |
601 | | - link[i].href = link[i].href.replace(/https?:\/\/[^\.]*(\.)?acg18\.us\/go\/\?url=/, ''); |
602 | | - }else if(/https?:\/\/[^\.]*(\.)?sijihuisuo\.club\/go\/\?url=/.test(link[i].href)){ |
603 | | - link[i].href = link[i].href.replace(/https?:\/\/[^\.]*(\.)?sijihuisuo\.club\/go\/\?url=/, ''); |
604 | | - } |
605 | 602 | var target=link[i]; |
606 | 603 | if(/baidu.com/i.test(target.href)&&!/(?:eyun|tieba)\.baidu\.com/i.test(target.href)&&!/#/i.test(target.href)){ |
607 | 604 | if(/\/storage-download/.test(location.href)){ |
|
0 commit comments