Update aak-cont-script.user.js

This commit is contained in:
Hugo Xu 2017-05-25 21:07:13 +00:00
parent d3b3daba1f
commit 58b6ff6f01

View File

@ -236,7 +236,7 @@
var z = window.setTimeout, var z = window.setTimeout,
needle = '{{1}}', needle = '{{1}}',
delay = parseInt('{{2}}', 10); delay = parseInt('{{2}}', 10);
if ( needle === '' || needle === '{{1}}' ) { if ( needle === ''){ // || needle === '{{1}}' ) {
needle = '.?'; needle = '.?';
} else if ( needle.slice(0,1) === '/' && needle.slice(-1) === '/' ) { } else if ( needle.slice(0,1) === '/' && needle.slice(-1) === '/' ) {
needle = needle.slice(1,-1); needle = needle.slice(1,-1);
@ -398,7 +398,7 @@ Aak.addScript(str);
}, },
notification : function (message, delay) { notification : function (message, delay) {
return; return; /*
if (Aak.isTopframe) { if (Aak.isTopframe) {
@ -433,12 +433,12 @@ Aak.addScript(str);
} }
}); });
} }*/
}, },
checkList : function () { checkList : function () {
return; return;
/*
if (Aak.useGM && Aak.opts.checkList && Aak.isTopframe) { if (Aak.useGM && Aak.opts.checkList && Aak.isTopframe) {
Aak.schedule(1, 'nextchecklist', function () { Aak.schedule(1, 'nextchecklist', function () {
Aak.ready(function () { Aak.ready(function () {
@ -460,12 +460,12 @@ Aak.addScript(str);
}); });
}); });
}); });
} }*/
}, },
checkUpdate : function (auto) { checkUpdate : function (auto) {
return; return;
/*
var check = function (notifyFalse) { var check = function (notifyFalse) {
Aak.request({ Aak.request({
url : Aak.downloadURL, url : Aak.downloadURL,
@ -497,7 +497,7 @@ Aak.addScript(str);
if (Aak.isTopframe) { if (Aak.isTopframe) {
check(true); check(true);
} }
} }*/
}, },
openInTab : function (url) { openInTab : function (url) {
@ -2080,7 +2080,7 @@ Aak.addScript(str);
}); });
} }
}, },
thewindowsclub_con:{ thewindowsclub_com:{
host: ['thewindowsclub.com'], host: ['thewindowsclub.com'],
onStart: function(){ onStart: function(){
Aak.TM_setTimeout_defuser("[native code]"); Aak.TM_setTimeout_defuser("[native code]");