inject into the dr1ft.xyz copy

This commit is contained in:
Astra 2018-05-16 18:44:11 -04:00
parent 61552afd6e
commit 0b1180273e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
(() => {
// abort if we're not currently in the discord app
if (location.hostname.indexOf('discordapp') == -1) return;
if (location.hostname.indexOf('discordapp') == -1 && location.hostname.indexOf('dr1ft.xyz') == -1) return;
// use the discord native api to require electron and get electron.remote
var electron = DiscordNative.nativeModules.requireModule('discord_/../electron').remote;