Stop execution of tracker when automatically moving to Friends list

This commit is contained in:
chylex 2016-11-01 16:10:38 +01:00
parent 4db76900d3
commit d22163b358

View File

@ -8,6 +8,7 @@ window.DHT_LOADED = true;
if (DISCORD.getSelectedChannel()){
if (confirm("You ran the script while in a channel, some messages may not be saved correctly. Do you want to go to your Friends list and refresh the page?")){
window.location = "https://discordapp.com/channels/@me";
return;
}
}