Skip to content

Commit fe315b4

Browse files
committed
fix
1 parent b967d47 commit fe315b4

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.06
75+
// @version 3.21.07
7676
// @grant GM_notification
7777
// @grant GM_xmlhttpRequest
7878
// @grant GM_setClipboard
@@ -722,7 +722,7 @@
722722
}
723723
});
724724
}*/
725-
var style=document.querySelector("style");
725+
var style=document.querySelectorAll("style")[1];
726726
var curRegs=style.innerHTML.pmatch(/background\-image:\s*url\('?([^\')]+)'?\)/gi);
727727
for(var curReg of curRegs){
728728
bgUrls+=curReg[0]+"\n";

0 commit comments

Comments
 (0)