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_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
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
* ===============================================
@@ -20513,9 +20513,10 @@
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
console.log('DEBUG::', MissionID, $div, isShow);
if ($div.length && isShow) {
console.log('DEBUG::', MissionID, 'Start Observer');
var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
//console.log(mutation)
console.log('DEBUG::','mutation', mutation)
if (mutation.attributeName === "style") {
if ($(mutation.target).css('display') == 'none') {
if (typeof ppppp != 'undefined') {
@@ -20542,7 +20543,7 @@
characterDataOldValue: true
});
})
$div.click();
$($div[0]).click();
} else {
window.console.log('DEBUG:::', 'Start AutomaticDispose()')
window.AutomaticDisposeCall = new AutomaticDispose();