v2 update bla bla
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 17 2018 23:07:04 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 23:18:23 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
+35
-35
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 17 2018 23:07:04 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 23:18:23 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17140,9 +17140,9 @@ class AutomaticDispose {
|
|||||||
self.CollectRescueSprechwuensche();
|
self.CollectRescueSprechwuensche();
|
||||||
setInterval(self.CollectPoliceSprechwuensche.bind(self), 2500);
|
setInterval(self.CollectPoliceSprechwuensche.bind(self), 2500);
|
||||||
setInterval(self.OpenNextPoliceSprechwunsch.bind(self), 5000);
|
setInterval(self.OpenNextPoliceSprechwunsch.bind(self), 5000);
|
||||||
|
self.CollectPoliceSprechwuensche();
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
self.CollectPoliceSprechwuensche();
|
|
||||||
self.CollectMissions();
|
self.CollectMissions();
|
||||||
self.ReadAndAddMissions();
|
self.ReadAndAddMissions();
|
||||||
}, 500);
|
}, 500);
|
||||||
@@ -17452,7 +17452,7 @@ class AutomaticDispose {
|
|||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
});
|
||||||
}, 2500, MissionID);
|
}, 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -18340,11 +18340,11 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
|
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
|
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -18374,11 +18374,11 @@ class AutomaticDispose {
|
|||||||
} else {
|
} else {
|
||||||
self.MissionType = null;
|
self.MissionType = null;
|
||||||
}
|
}
|
||||||
console.log("MissionID", self.MissionID);
|
// console.log("MissionID", self.MissionID);
|
||||||
console.log("MissionType", self.MissionType);
|
// console.log("MissionType", self.MissionType);
|
||||||
console.log("Window", window.name);
|
// console.log("Window", window.name);
|
||||||
console.log("self.MyRunner", self.MyRunner);
|
// console.log("self.MyRunner", self.MyRunner);
|
||||||
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
// console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
||||||
|
|
||||||
if (self.includesString($('#iframe-inside-container > div.missionNotFound > div.missionNotFoundText').text(), 'Der Einsatz wurde erfolgreich abgeschlossen.')) {
|
if (self.includesString($('#iframe-inside-container > div.missionNotFound > div.missionNotFoundText').text(), 'Der Einsatz wurde erfolgreich abgeschlossen.')) {
|
||||||
console.log("DONE: " + self.MissionID);
|
console.log("DONE: " + self.MissionID);
|
||||||
@@ -18421,7 +18421,7 @@ class AutomaticDispose {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, 1500);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -18621,31 +18621,31 @@ class AutomaticDispose {
|
|||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
setTimeout(function () {
|
|
||||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
|
||||||
var isShow = $div.is(':hidden');
|
|
||||||
//console.log($div, isShow);
|
|
||||||
if ($div.length && isShow) {
|
|
||||||
var observer = new MutationObserver(function (mutations) {
|
|
||||||
mutations.forEach(function (mutation) {
|
|
||||||
if (mutation.attributeName === "style") {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 750);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
observer.observe($div[0], {
|
|
||||||
attributes: true
|
|
||||||
});
|
|
||||||
|
|
||||||
$div.click();
|
var $div = $("#mission-form > div:nth-child(7) > a");
|
||||||
} else {
|
var isShow = $div.is(':hidden');
|
||||||
setTimeout(function () {
|
//console.log($div, isShow);
|
||||||
alarming(self)
|
if ($div.length && isShow) {
|
||||||
}, 250);
|
var observer = new MutationObserver(function (mutations) {
|
||||||
}
|
mutations.forEach(function (mutation) {
|
||||||
}, 150);
|
if (mutation.attributeName === "style") {
|
||||||
|
setTimeout(function () {
|
||||||
|
alarming(self)
|
||||||
|
}, 750);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
|
$div.click();
|
||||||
|
} else {
|
||||||
|
setTimeout(function () {
|
||||||
|
alarming(self)
|
||||||
|
}, 250);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+34
-34
@@ -133,9 +133,9 @@ class AutomaticDispose {
|
|||||||
self.CollectRescueSprechwuensche();
|
self.CollectRescueSprechwuensche();
|
||||||
setInterval(self.CollectPoliceSprechwuensche.bind(self), 2500);
|
setInterval(self.CollectPoliceSprechwuensche.bind(self), 2500);
|
||||||
setInterval(self.OpenNextPoliceSprechwunsch.bind(self), 5000);
|
setInterval(self.OpenNextPoliceSprechwunsch.bind(self), 5000);
|
||||||
|
self.CollectPoliceSprechwuensche();
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
self.CollectPoliceSprechwuensche();
|
|
||||||
self.CollectMissions();
|
self.CollectMissions();
|
||||||
self.ReadAndAddMissions();
|
self.ReadAndAddMissions();
|
||||||
}, 500);
|
}, 500);
|
||||||
@@ -445,7 +445,7 @@ class AutomaticDispose {
|
|||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
});
|
||||||
}, 2500, MissionID);
|
}, 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -1099,11 +1099,11 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
|
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
|
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1133,11 +1133,11 @@ class AutomaticDispose {
|
|||||||
} else {
|
} else {
|
||||||
self.MissionType = null;
|
self.MissionType = null;
|
||||||
}
|
}
|
||||||
console.log("MissionID", self.MissionID);
|
// console.log("MissionID", self.MissionID);
|
||||||
console.log("MissionType", self.MissionType);
|
// console.log("MissionType", self.MissionType);
|
||||||
console.log("Window", window.name);
|
// console.log("Window", window.name);
|
||||||
console.log("self.MyRunner", self.MyRunner);
|
// console.log("self.MyRunner", self.MyRunner);
|
||||||
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
// console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
||||||
|
|
||||||
if (self.includesString($('#iframe-inside-container > div.missionNotFound > div.missionNotFoundText').text(), 'Der Einsatz wurde erfolgreich abgeschlossen.')) {
|
if (self.includesString($('#iframe-inside-container > div.missionNotFound > div.missionNotFoundText').text(), 'Der Einsatz wurde erfolgreich abgeschlossen.')) {
|
||||||
console.log("DONE: " + self.MissionID);
|
console.log("DONE: " + self.MissionID);
|
||||||
@@ -1180,7 +1180,7 @@ class AutomaticDispose {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, 1500);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1380,31 +1380,31 @@ class AutomaticDispose {
|
|||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
setTimeout(function () {
|
|
||||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
|
||||||
var isShow = $div.is(':hidden');
|
|
||||||
//console.log($div, isShow);
|
|
||||||
if ($div.length && isShow) {
|
|
||||||
var observer = new MutationObserver(function (mutations) {
|
|
||||||
mutations.forEach(function (mutation) {
|
|
||||||
if (mutation.attributeName === "style") {
|
|
||||||
setTimeout(function () {
|
|
||||||
alarming(self)
|
|
||||||
}, 750);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
observer.observe($div[0], {
|
|
||||||
attributes: true
|
|
||||||
});
|
|
||||||
|
|
||||||
$div.click();
|
var $div = $("#mission-form > div:nth-child(7) > a");
|
||||||
} else {
|
var isShow = $div.is(':hidden');
|
||||||
setTimeout(function () {
|
//console.log($div, isShow);
|
||||||
alarming(self)
|
if ($div.length && isShow) {
|
||||||
}, 250);
|
var observer = new MutationObserver(function (mutations) {
|
||||||
}
|
mutations.forEach(function (mutation) {
|
||||||
}, 150);
|
if (mutation.attributeName === "style") {
|
||||||
|
setTimeout(function () {
|
||||||
|
alarming(self)
|
||||||
|
}, 750);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
|
$div.click();
|
||||||
|
} else {
|
||||||
|
setTimeout(function () {
|
||||||
|
alarming(self)
|
||||||
|
}, 250);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user