This commit is contained in:
2019-02-15 17:40:00 +01:00
parent 7540e20591
commit ae716195b7
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Fri Feb 15 2019 17:36:30 GMT+0100 (CET)*/ /*Generated on:Fri Feb 15 2019 17:39:59 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();
+4 -3
View File
@@ -1,4 +1,4 @@
/*Generated on:Fri Feb 15 2019 17:36:30 GMT+0100 (CET)*/ /*Generated on:Fri Feb 15 2019 17:39:59 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -20513,9 +20513,10 @@
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
console.log('DEBUG::', MissionID, $div, isShow); console.log('DEBUG::', MissionID, $div, isShow);
if ($div.length && isShow) { if ($div.length && isShow) {
console.log('DEBUG::', MissionID, 'Start Observer');
var observer = new MutationObserver(function (mutations) { var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) { mutations.forEach(function (mutation) {
//console.log(mutation) console.log('DEBUG::','mutation', mutation)
if (mutation.attributeName === "style") { if (mutation.attributeName === "style") {
if ($(mutation.target).css('display') == 'none') { if ($(mutation.target).css('display') == 'none') {
if (typeof ppppp != 'undefined') { if (typeof ppppp != 'undefined') {
@@ -20542,7 +20543,7 @@
characterDataOldValue: true characterDataOldValue: true
}); });
}) })
$div.click(); $($div[0]).click();
} else { } else {
window.console.log('DEBUG:::', 'Start AutomaticDispose()') window.console.log('DEBUG:::', 'Start AutomaticDispose()')
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();
+3 -2
View File
@@ -2480,9 +2480,10 @@
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
console.log('DEBUG::', MissionID, $div, isShow); console.log('DEBUG::', MissionID, $div, isShow);
if ($div.length && isShow) { if ($div.length && isShow) {
console.log('DEBUG::', MissionID, 'Start Observer');
var observer = new MutationObserver(function (mutations) { var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) { mutations.forEach(function (mutation) {
//console.log(mutation) console.log('DEBUG::','mutation', mutation)
if (mutation.attributeName === "style") { if (mutation.attributeName === "style") {
if ($(mutation.target).css('display') == 'none') { if ($(mutation.target).css('display') == 'none') {
if (typeof ppppp != 'undefined') { if (typeof ppppp != 'undefined') {
@@ -2509,7 +2510,7 @@
characterDataOldValue: true characterDataOldValue: true
}); });
}) })
$div.click(); $($div[0]).click();
} else { } else {
window.console.log('DEBUG:::', 'Start AutomaticDispose()') window.console.log('DEBUG:::', 'Start AutomaticDispose()')
window.AutomaticDisposeCall = new AutomaticDispose(); window.AutomaticDisposeCall = new AutomaticDispose();