v2 update
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Tue Dec 18 2018 02:47:49 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 15:53:48 GMT+0100 (CET)*/
|
||||||
var AutomaticDispose_Branch = "master";
|
var AutomaticDispose_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
|
|||||||
Vendored
+27
-26
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Tue Dec 18 2018 02:47:49 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 15:53:48 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18601,7 +18601,7 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
const alarming = function alarming(self) {
|
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
@@ -18660,32 +18660,10 @@ class AutomaticDispose {
|
|||||||
}, 250);
|
}, 250);
|
||||||
|
|
||||||
})
|
})
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
|
||||||
var isShow = $div.is(':hidden');
|
|
||||||
//console.log($div, isShow);
|
|
||||||
if ($div.length && isShow && 1 == 0) {
|
|
||||||
var observer = new MutationObserver(function (mutations) {
|
|
||||||
mutations.forEach(function (mutation) {
|
|
||||||
if (mutation.attributeName === "style") {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 1500);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
observer.observe($div[0], {
|
|
||||||
attributes: true
|
|
||||||
});
|
|
||||||
|
|
||||||
$div.click();
|
|
||||||
} else {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -19637,5 +19615,28 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
||||||
|
var isShow = $div.is(':hidden');
|
||||||
|
//console.log($div, isShow);
|
||||||
|
if ($div.length && isShow && 1 == 0) {
|
||||||
|
var observer = new MutationObserver(function (mutations) {
|
||||||
|
mutations.forEach(function (mutation) {
|
||||||
|
if (mutation.attributeName === "style") {
|
||||||
|
setTimeout(function () {
|
||||||
|
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||||
|
}, 1500);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
window.AutomaticDisposeCall = new AutomaticDispose();
|
$div.click();
|
||||||
|
} else {
|
||||||
|
setTimeout(function () {
|
||||||
|
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||||
|
}, 500);
|
||||||
|
}
|
||||||
|
});
|
||||||
+26
-25
@@ -1360,7 +1360,7 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
const alarming = function alarming(self) {
|
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
@@ -1419,32 +1419,10 @@ class AutomaticDispose {
|
|||||||
}, 250);
|
}, 250);
|
||||||
|
|
||||||
})
|
})
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
|
||||||
var isShow = $div.is(':hidden');
|
|
||||||
//console.log($div, isShow);
|
|
||||||
if ($div.length && isShow && 1 == 0) {
|
|
||||||
var observer = new MutationObserver(function (mutations) {
|
|
||||||
mutations.forEach(function (mutation) {
|
|
||||||
if (mutation.attributeName === "style") {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 1500);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
observer.observe($div[0], {
|
|
||||||
attributes: true
|
|
||||||
});
|
|
||||||
|
|
||||||
$div.click();
|
|
||||||
} else {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2396,5 +2374,28 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
||||||
|
var isShow = $div.is(':hidden');
|
||||||
|
//console.log($div, isShow);
|
||||||
|
if ($div.length && isShow && 1 == 0) {
|
||||||
|
var observer = new MutationObserver(function (mutations) {
|
||||||
|
mutations.forEach(function (mutation) {
|
||||||
|
if (mutation.attributeName === "style") {
|
||||||
|
setTimeout(function () {
|
||||||
|
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||||
|
}, 1500);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
window.AutomaticDisposeCall = new AutomaticDispose();
|
$div.click();
|
||||||
|
} else {
|
||||||
|
setTimeout(function () {
|
||||||
|
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||||
|
}, 500);
|
||||||
|
}
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user