Skip to content

Commit c9c9679

Browse files
committed
fix
1 parent 2b8c776 commit c9c9679

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
// @include http*://www.acg.tf/*
3737
// @include http*://acg.tf/*
3838
// @include http*://www.moxacg.com/*
39+
// @include http*://moxacg.*
3940
// @include http*://*.acggj.com/*
4041
// @include http*://acg12.com/*
4142
// @include http*://*.acg12.com/*
@@ -278,7 +279,7 @@
278279
},
279280
{
280281
name:"萌心次元",
281-
url:"http://www.moxacg.com/",
282+
url:"https://moxacg.moe/",
282283
regex:/moxacg\./,
283284
hideOd:true,
284285
offset:55,
@@ -334,6 +335,7 @@
334335
regex:/yui\-nya\.com/,
335336
articleSel:"article",
336337
contentArea:'.article-content',
338+
offset:50,
337339
commArea:"commentlist"
338340
},
339341
{
@@ -554,7 +556,7 @@
554556
}
555557
break;
556558
case "萌心次元":
557-
if(isHttps)addInsertHandler([["body","a","img","link","script"],[['p:(\\\/\\\/|\\\\\\/\\\\\\/)(www\\\.)?moxacg','ps:$1$2moxacg']]]);
559+
//if(isHttps)addInsertHandler([["body","a","img","link","script"],[['p:(\\\/\\\/|\\\\\\/\\\\\\/)(www\\\.)?moxacg','ps:$1$2moxacg']]]);
558560
break;
559561
case "次元轨迹":
560562
if(isHttps){
@@ -717,32 +719,6 @@
717719
e.stopPropagation();
718720
if(bgUrls==undefined){
719721
bgUrls="";
720-
/*for(let j=0;j<=maxCss;j++){
721-
GM_xmlhttpRequest({
722-
method: 'GET',
723-
url: "https://www.mygalgame.com/wp-content/themes/mygalgame/ui/css/background"+j+".css",
724-
onload: function(d) {
725-
let bgRegs=d.responseText.pmatch(/background\-image:url\(([^\)]+)\)/gi);
726-
for(let bgReg of bgRegs){
727-
bgUrls+=bgReg[0]+"\n";
728-
}
729-
sum++;
730-
if(sum>maxCss){
731-
var style=document.querySelector("style");
732-
var curRegs=style.innerHTML.pmatch(/background\-image:\s*url\(([^\)]+)\)/gi);
733-
for(var curReg of curRegs){
734-
if(bgUrls.indexOf(curReg[0])==-1)
735-
bgUrls+=curReg[0]+"\n";
736-
}
737-
GM_setClipboard(bgUrls);
738-
alert("背景图片链接复制完毕");
739-
}
740-
},
741-
onerror: function(e) {
742-
console.log(e);
743-
}
744-
});
745-
}*/
746722
var style=document.querySelectorAll("style");
747723
for(let j=0;j<=style.length;j++){
748724
if(style[j].innerHTML.indexOf(".cb-slideshow")!=-1){

0 commit comments

Comments
 (0)