Skip to content

Commit 009ad5d

Browse files
committed
fix
1 parent 13d28c0 commit 009ad5d

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
// @include http*://hacg.*/wordpress/*
1515
// @include http*://www.hacg.*/wp/*
1616
// @include http*://hacg.*/wp/*
17+
// @include http*://hacg.riwee.com/*
18+
// @include http*://hacg.me/*
19+
// @include http*://hacg.in/*
20+
// @include http*://hacg.be/*
21+
// @include http*://hacg.lol/*
22+
// @include http*://hacg.club/*
23+
// @include http*://hacg.li/*
24+
// @include http*://hacg.fi/*
25+
// @include http*://hacg.red/*
26+
// @include http*://hacg.la/*
1727
// @include http*://blog.reimu.net/*
1828
// @include http*://pan.baidu.com/share/*
1929
// @include http*://pan.baidu.com/s/*
@@ -51,7 +61,7 @@
5161
// @include http*://htai.*
5262
// @include http*://gmgard.com/*
5363
// @include http*://*.gmgard.com/*
54-
// @version 3.20.55
64+
// @version 3.20.56
5565
// @grant GM_notification
5666
// @grant GM_xmlhttpRequest
5767
// @run-at document-end
@@ -242,14 +252,14 @@
242252
offset:55,
243253
articleSel:"section.card"
244254
},
245-
{
255+
/*{
246256
name:"nacg",
247257
url:"http://nacg.me/",
248258
regex:/nacg\.me/,
249259
hideOd:true,
250260
offset:65,
251261
contentArea:'.content'
252-
},
262+
},*/
253263
{
254264
name:"acggj",
255265
url:"https://www.acggj.com/",
@@ -708,6 +718,10 @@
708718
}
709719
}
710720
});
721+
var mousewheelEvent=navigator.userAgent.toLowerCase().indexOf('firefox')==-1?"mousewheel":"DOMMouseScroll";
722+
document.addEventListener(mousewheelEvent,function(e){
723+
if(curArticle)curArticle.classList.remove("oD_sel");
724+
});
711725

712726
document.getElementsByTagName("head")[0].appendChild(nod);
713727
if((!curSite || !curSite.hideOd) && !frameElement){

0 commit comments

Comments
 (0)