Skip to content

Commit 14166d5

Browse files
committed
fix
1 parent c27b3cf commit 14166d5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 2 additions & 3 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.05
75+
// @version 3.21.06
7676
// @grant GM_notification
7777
// @grant GM_xmlhttpRequest
7878
// @grant GM_setClipboard
@@ -725,8 +725,7 @@
725725
var style=document.querySelector("style");
726726
var curRegs=style.innerHTML.pmatch(/background\-image:\s*url\('?([^\')]+)'?\)/gi);
727727
for(var curReg of curRegs){
728-
if(bgUrls.indexOf(curReg[0])==-1)
729-
bgUrls+=curReg[0]+"\n";
728+
bgUrls+=curReg[0]+"\n";
730729
}
731730
GM_setClipboard(bgUrls);
732731
alert("背景图片链接复制完毕");

0 commit comments

Comments
 (0)