Skip to content

Commit bedff01

Browse files
committed
fix
1 parent 6363fca commit bedff01

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@
8282
// @include http*://greasyfork.org/*/scripts/*
8383
// @include http*://sleazyfork.org/*/forum/*discussion*
8484
// @include http*://greasyfork.org/*/forum/*discussion*
85-
// @version 3.22.23
85+
// @version 3.22.25
8686
// @grant GM_notification
8787
// @grant GM_xmlhttpRequest
8888
// @grant GM_setClipboard
8989
// @grant GM_setValue
9090
// @grant GM_getValue
9191
// @grant unsafeWindow
9292
// @run-at document-end
93-
// @require https://greasyfork.org/scripts/23522/code/od.js?version=181351
93+
// @require https://greasyfork.org/scripts/23522/code/od.js?version=181941
9494
// @require https://cdn.jsdelivr.net/crypto-js/3.1.2/components/core-min.js
9595
// @require https://cdn.jsdelivr.net/crypto-js/3.1.2/rollups/aes.js
9696
// @updateURL https://greasyfork.org/scripts/23316/code/HacgGodTurn.user.js
@@ -1114,7 +1114,7 @@
11141114
}else if(/\b1[0-9a-z]{6,7}(\b|$)/i.test(oD_hash)){
11151115
var panMatch=oD_hash.match(/\b1[0-9a-z]{6,7}/i);
11161116
var ecode=oD_hash.trim(),url="https://pan.baidu.com/s/"+panMatch;
1117-
var shortMatch=/\b1[0-9a-z]{6,7}\s*([0-9a-z]{4})\b/i.exec(ecode);
1117+
var shortMatch=/\b1[0-9a-z]{6,7}\s*([0-9a-z!]{4}|[^\s,:]{2,4})(\b|$)/i.exec(ecode);
11181118
if(shortMatch){
11191119
url+="#"+shortMatch[1];
11201120
}else{

HacgGodTurn/od.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)