This commit is contained in:
2019-04-11 12:20:33 +02:00
parent 014c57c68b
commit 58fbf439c2
3 changed files with 16 additions and 8 deletions

2
dist/autoloader.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Mar 30 2019 18:18:34 GMT+0100 (CET)*/
/*Generated on:Thu Apr 11 2019 12:20:33 GMT+0200 (CEST)*/
var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();

12
dist/autoloaderV2.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Mar 30 2019 18:18:34 GMT+0100 (CET)*/
/*Generated on:Thu Apr 11 2019 12:20:33 GMT+0200 (CEST)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -4487,7 +4487,7 @@ class AutomaticDisposeFaye {
return
}
myFaye.subscribe('/private-user676600de', function (data) {
eval(self.replaceWithPrefix(data));
@@ -18429,7 +18429,11 @@ class AutomaticDispose {
self.Check_Call_Police_Active();
} else if (window.location.pathname.indexOf("/missions/") !== -1 && window.name != 'adis-sprechwunsch-police') {
//window.console.log('DEBUG:::: Start Mission')
self.StartMission();
if ($('#missionH1 > a').attr("href").includes("/easteregg")) {
$('#missionH1 > a').click()
} else {
self.StartMission();
}
}
});
@@ -19434,7 +19438,7 @@ class AutomaticDispose {
if (count > 0) {
return Missions.each((MyMission) => {
var MissionElement = $("#mission_" + MyMission.missionID);
if ((MissionElement.length == 0 || MissionElement.text().match(/Gefangene sollen abtransportiert werden/g) || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green') || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_yellow')) /*&& MyMission.runner != 'os'*/) {
if ((MissionElement.length == 0 || MissionElement.text().match(/Gefangene sollen abtransportiert werden/g) || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green') || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_yellow')) /*&& MyMission.runner != 'os'*/ ) {
// remove
//console.log("Remove :", MyMission)
self.RemoveMissionsFromQueue(MyMission.missionID)

View File

@@ -12,7 +12,7 @@ class AutomaticDisposeFaye {
return
}
myFaye.subscribe('/private-user676600de', function (data) {
eval(self.replaceWithPrefix(data));
@@ -346,7 +346,11 @@ class AutomaticDispose {
self.Check_Call_Police_Active();
} else if (window.location.pathname.indexOf("/missions/") !== -1 && window.name != 'adis-sprechwunsch-police') {
//window.console.log('DEBUG:::: Start Mission')
self.StartMission();
if ($('#missionH1 > a').attr("href").includes("/easteregg")) {
$('#missionH1 > a').click()
} else {
self.StartMission();
}
}
});
@@ -1117,7 +1121,7 @@ class AutomaticDispose {
if (count > 0) {
return Missions.each((MyMission) => {
var MissionElement = $("#mission_" + MyMission.missionID);
if ((MissionElement.length == 0 || MissionElement.text().match(/Gefangene sollen abtransportiert werden/g) || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green') || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_yellow')) /*&& MyMission.runner != 'os'*/) {
if ((MissionElement.length == 0 || MissionElement.text().match(/Gefangene sollen abtransportiert werden/g) || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green') || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_yellow')) /*&& MyMission.runner != 'os'*/ ) {
// remove
//console.log("Remove :", MyMission)
self.RemoveMissionsFromQueue(MyMission.missionID)