|
104 | 104 | // @include http*://greasyfork.org/*/scripts/* |
105 | 105 | // @include http*://sleazyfork.org/*/forum/*discussion* |
106 | 106 | // @include http*://greasyfork.org/*/forum/*discussion* |
107 | | -// @version 3.22.61 |
| 107 | +// @version 3.22.62 |
108 | 108 | // @grant GM_notification |
109 | 109 | // @grant GM_xmlhttpRequest |
110 | 110 | // @grant GM_setClipboard |
|
415 | 415 | }, |
416 | 416 | { |
417 | 417 | name:"幻想次元", |
418 | | - url:"https://acg18.us/", |
| 418 | + url:"https://acg18.world/", |
419 | 419 | regex:/acg18\./, |
420 | 420 | offset:55, |
421 | 421 | run:function(){ |
422 | | - changeUrl(true,[["a"],[['https?:\\\/\\\/[^\\\.]*(\\\.)?acg18\\\.us\\\/go\\\/\\\?url=','']]]); |
| 422 | + changeUrl(true,[["a"],[['https?:\\\/\\\/[^\\\.]*(\\\.)?acg18\\\.(us|world)\\\/go\\\/\\\?url=','']]]); |
423 | 423 | } |
424 | 424 | }, |
425 | 425 | { |
|
492 | 492 | url:"https://cangku.moe/", |
493 | 493 | regex:/galacg\.|cangku\./, |
494 | 494 | hideOd:true, |
495 | | - articleSel:"section.post-wrap", |
| 495 | + articleSel:".post-card-wrap", |
496 | 496 | run:function(){ |
497 | 497 | window.setTimeout(function(){ |
498 | 498 | process(); |
|
600 | 600 | var a = this.match(reg); |
601 | 601 | return a? [a.slice(1,a.length)] : 0; |
602 | 602 | } |
603 | | - a=[],b; |
| 603 | + a=[];var b; |
604 | 604 | while(b=reg.exec(this)){ |
605 | 605 | b.shift(); |
606 | 606 | a.push(b); |
|
1276 | 1276 | oD_button.style.cssText="padding:4px 0;position: absolute;top:-1px;right:0px;width:40px;height:35px"; |
1277 | 1277 | oD_button.onclick=function (){ |
1278 | 1278 | oD_link.textContent=oD_link2.textContent=oD_link3.textContent=""; |
1279 | | - var oD_hash=oD_text.value; |
| 1279 | + var oD_hash=oD_text.value,url; |
1280 | 1280 | if(oD_hash===""){ |
1281 | 1281 | alert("请输入hash值、网盘或Base64密文"); |
1282 | 1282 | }else if(/\b1[0-9a-z]{6,7}(\b|$)/i.test(oD_hash)){ |
1283 | 1283 | var panMatch=oD_hash.match(/\b1[0-9a-z]{6,7}/i); |
1284 | | - var ecode=oD_hash.trim(),url="https://pan.baidu.com/s/"+panMatch; |
| 1284 | + var ecode=oD_hash.trim(); |
| 1285 | + url="https://pan.baidu.com/s/"+panMatch; |
1285 | 1286 | var shortMatch=/\b1[0-9a-z]{6,7}\s*([0-9a-z!]{4}|[^\s,,::]{2,4})(\b|$)/i.exec(ecode); |
1286 | 1287 | if(shortMatch){ |
1287 | 1288 | url+="#"+shortMatch[1]; |
|
1291 | 1292 | } |
1292 | 1293 | window.open(url); |
1293 | 1294 | }else if(/^\s*(https|ftp)?:\/\//.test(oD_hash)){ |
1294 | | - var url=oD_hash.replace(/[^a-z0-9:\/%\?&\._\-\+\*]/gi,""); |
| 1295 | + url=oD_hash.replace(/[^a-z0-9:\/%\?&\._\-\+\*]/gi,""); |
| 1296 | + window.open(url); |
| 1297 | + }else if(/^\d{8}$/.test(oD_hash)){ |
| 1298 | + url="https://www.pixiv.net/member_illust.php?mode=medium&illust_id="+oD_hash; |
1295 | 1299 | window.open(url); |
1296 | 1300 | }else{ |
1297 | 1301 | oD_hash=oD_hash.replace(/(\[.*\])|[\W_]/g,""); |
|
0 commit comments