Skip to content

Commit 5c740df

Browse files
committed
fix
1 parent 8fd2d89 commit 5c740df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

HacgGodTurn.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// @include http*://acgmoon.*
4747
// @include http*://www.moe-acg.cc/*
4848
// @include http*://htai.*
49-
// @version 3.20.28
49+
// @version 3.20.29
5050
// @grant GM_notification
5151
// @grant GM_xmlhttpRequest
5252
// @run-at document-end
@@ -224,7 +224,7 @@
224224
disableSites:/hacg.*about\.html/,
225225
imgRegs:[[/^(?:https:)?(\/\/img\.2dfan|www\.moxtu\.cc|(?:pic|tc)\.(?:ffsky|rpgsky))/,'http:$1'],[/http(:\/\/(?:[^\.]*\.)?loli\.io)/,'https$1'],[/^https:\/\/galacg.me/,'https://www.galacg.me/']]
226226
};
227-
if(unsafeWindow)window = unsafeWindow;
227+
//if(unsafeWindow)window = unsafeWindow;
228228
if (!Array.prototype.findSite) {
229229
Array.prototype.findSite = function (siteName) {
230230
var arr = this;
@@ -973,7 +973,6 @@
973973
//window.open("http://hoothin.com");
974974
}
975975
};
976-
GM_notification(notificationDetails);
977976
var context = new AudioContext();
978977
function playSound(buffer) {
979978
var source = context.createBufferSource();
@@ -1004,5 +1003,6 @@
10041003
p.then(playSound, function(e) {
10051004
console.log(e);
10061005
});
1006+
GM_notification(notificationDetails);
10071007
}
10081008
})();

0 commit comments

Comments
 (0)