v291832943

This commit is contained in:
2019-01-11 02:21:49 +01:00
parent 3fb4e06c7f
commit 06ab23bdca
3 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Fri Jan 11 2019 02:15:04 GMT+0100 (CET)*/ /*Generated on:Fri Jan 11 2019 02:21: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();
+9 -4
View File
@@ -1,4 +1,4 @@
/*Generated on:Fri Jan 11 2019 02:15:04 GMT+0100 (CET)*/ /*Generated on:Fri Jan 11 2019 02:21:48 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -19762,6 +19762,7 @@ class AutomaticDispose {
$(document).ready(function () { $(document).ready(function () {
var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')"); var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
var isShow = $div.is(':hidden'); var isShow = $div.is(':hidden');
var ppppp = undefined;
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
console.log($div, isShow, MissionID); console.log($div, isShow, MissionID);
if ($div.length && isShow) { if ($div.length && isShow) {
@@ -19770,19 +19771,23 @@ $(document).ready(function () {
console.log(mutation.type, MissionID); console.log(mutation.type, MissionID);
console.table(mutation, MissionID); console.table(mutation, MissionID);
if (mutation.attributeName === "style") { if (mutation.attributeName === "style") {
setTimeout(function () { if (typeof ppppp != 'undefined'){
clearTimeout(ppppp);
}
ppppp = setTimeout(function () {
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();
}, 1500); }, 1500);
} }
}); });
}); });
observer.observe($div[0], { $div.each(function(index,item){
observer.observe(item, {
attributes: true, attributes: true,
characterData: true, characterData: true,
attributeOldValue: true, attributeOldValue: true,
characterDataOldValue: true characterDataOldValue: true
}); });
})
$div.click(); $div.click();
} else { } else {
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();
+8 -3
View File
@@ -2408,6 +2408,7 @@ class AutomaticDispose {
$(document).ready(function () { $(document).ready(function () {
var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')"); var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
var isShow = $div.is(':hidden'); var isShow = $div.is(':hidden');
var ppppp = undefined;
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
console.log($div, isShow, MissionID); console.log($div, isShow, MissionID);
if ($div.length && isShow) { if ($div.length && isShow) {
@@ -2416,19 +2417,23 @@ $(document).ready(function () {
console.log(mutation.type, MissionID); console.log(mutation.type, MissionID);
console.table(mutation, MissionID); console.table(mutation, MissionID);
if (mutation.attributeName === "style") { if (mutation.attributeName === "style") {
setTimeout(function () { if (typeof ppppp != 'undefined'){
clearTimeout(ppppp);
}
ppppp = setTimeout(function () {
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();
}, 1500); }, 1500);
} }
}); });
}); });
observer.observe($div[0], { $div.each(function(index,item){
observer.observe(item, {
attributes: true, attributes: true,
characterData: true, characterData: true,
attributeOldValue: true, attributeOldValue: true,
characterDataOldValue: true characterDataOldValue: true
}); });
})
$div.click(); $div.click();
} else { } else {
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();