mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 07:17:12 +03:00
Fix discordapp.com still being used in the app
This commit is contained in:
parent
e800e7e25e
commit
e9679c616f
@ -1,7 +1,7 @@
|
||||
if (!window.location.href.includes("discord.com/")){
|
||||
if (!confirm("Could not detect Discord in the URL, do you want to run the script anyway?")){
|
||||
return;
|
||||
}
|
||||
const url = window.location.href;
|
||||
|
||||
if (!url.includes("discord.com/") && !url.includes("discordapp.com/") && !confirm("Could not detect Discord in the URL, do you want to run the script anyway?")){
|
||||
return;
|
||||
}
|
||||
|
||||
if (window.DHT_LOADED){
|
||||
|
Loading…
x
Reference in New Issue
Block a user