Skip to content

Commit 3ed4f8f

Browse files
committed
fix
1 parent c5c0ddc commit 3ed4f8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
// @include http*://yui-nya.com/*
7373
// @include http*://www.l-sj.cc/*
7474
// @include http*://htacg.cc/*
75-
// @version 3.21.01
75+
// @version 3.21.02
7676
// @grant GM_notification
7777
// @grant GM_xmlhttpRequest
7878
// @grant GM_setClipboard
@@ -376,7 +376,7 @@
376376
}
377377
var contentArea=curSite&&curSite.contentArea?curSite.contentArea:'.entry-content',commArea=curSite&&curSite.commArea?curSite.commArea:"comment-content",articleSel=curSite&&curSite.articleSel?curSite.articleSel:"article";
378378

379-
if(/\.baidu\./.test(location.href)){
379+
if(/^https?:\/\/pan\.baidu\.com/.test(location.href)){
380380
if(location.hash.slice(1)){
381381
document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1));
382382
document.querySelector('#submitBtn').click();

0 commit comments

Comments
 (0)