feat: add "Planet X, Andromeda" to great divide place allowlist
This commit is contained in:
parent
7207f229d2
commit
2249044de7
1 changed files with 6 additions and 1 deletions
|
|
@ -2,6 +2,11 @@ let EventOngoing = true;
|
||||||
let Team;
|
let Team;
|
||||||
let HasTeam = true;
|
let HasTeam = true;
|
||||||
|
|
||||||
|
const PlaceAllowlist = [
|
||||||
|
'9656',
|
||||||
|
'9757'
|
||||||
|
];
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
Utilities = await import(chrome.runtime.getURL('resources/utils.js'))
|
Utilities = await import(chrome.runtime.getURL('resources/utils.js'))
|
||||||
.default
|
.default
|
||||||
|
|
@ -25,7 +30,7 @@ let HasTeam = true;
|
||||||
}
|
}
|
||||||
if (new Date().getMonth().toString()+new Date().getDate().toString() >= 714) { EventOngoing = false }
|
if (new Date().getMonth().toString()+new Date().getDate().toString() >= 714) { EventOngoing = false }
|
||||||
|
|
||||||
if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && window.location.pathname.split('/')[2] === '9656') {
|
if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && PlaceAllowlist.indexOf(window.location.pathname.split('/')[2]) !== -1) {
|
||||||
UnbalancedServerMarkers()
|
UnbalancedServerMarkers()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue