v2 omaf9
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sat Dec 15 2018 14:52:55 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 00:23:53 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
+21
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sat Dec 15 2018 14:52:55 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 00:23:53 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18970,7 +18970,18 @@ class AutomaticDispose {
|
|||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
var $div = $("a.btn-warning.missing_vehicles_load");
|
||||||
|
var observer = new MutationObserver(function (mutations) {
|
||||||
|
mutations.forEach(function (mutation) {
|
||||||
|
if (mutation.attributeName === "class") {
|
||||||
|
var attributeValue = $(mutation.target).prop(mutation.attributeName);
|
||||||
|
console.log("Class attribute changed to:", attributeValue);
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
|
//<a href="/missions/923466412/missing_vehicles" class="btn btn-xs btn-warning missing_vehicles_load btn-block">Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden! </a>
|
||||||
|
//<a href="/missions/923466412/missing_vehicles" class="btn btn-xs missing_vehicles_load btn-block" style="display: none;">Lade...</a>
|
||||||
|
// - #mission-form > div:nth-child(7) > a
|
||||||
|
return await self.PrepareVehicleNeedList();
|
||||||
|
}).then(async () => {
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
return await self.CollectInvolvedVehicles();
|
return await self.CollectInvolvedVehicles();
|
||||||
@@ -19029,7 +19040,16 @@ class AutomaticDispose {
|
|||||||
}, 250);
|
}, 250);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
|
$div.click();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||||
|
|||||||
@@ -1310,7 +1310,18 @@ class AutomaticDispose {
|
|||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
var $div = $("a.btn-warning.missing_vehicles_load");
|
||||||
|
var observer = new MutationObserver(function (mutations) {
|
||||||
|
mutations.forEach(function (mutation) {
|
||||||
|
if (mutation.attributeName === "class") {
|
||||||
|
var attributeValue = $(mutation.target).prop(mutation.attributeName);
|
||||||
|
console.log("Class attribute changed to:", attributeValue);
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
|
//<a href="/missions/923466412/missing_vehicles" class="btn btn-xs btn-warning missing_vehicles_load btn-block">Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden! </a>
|
||||||
|
//<a href="/missions/923466412/missing_vehicles" class="btn btn-xs missing_vehicles_load btn-block" style="display: none;">Lade...</a>
|
||||||
|
// - #mission-form > div:nth-child(7) > a
|
||||||
|
return await self.PrepareVehicleNeedList();
|
||||||
|
}).then(async () => {
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
return await self.CollectInvolvedVehicles();
|
return await self.CollectInvolvedVehicles();
|
||||||
@@ -1369,7 +1380,16 @@ class AutomaticDispose {
|
|||||||
}, 250);
|
}, 250);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
observer.observe($div[0], {
|
||||||
|
attributes: true
|
||||||
|
});
|
||||||
|
|
||||||
|
$div.click();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||||
|
|||||||
Reference in New Issue
Block a user