inject into the dr1ft.xyz copy
This commit is contained in:
parent
61552afd6e
commit
0b1180273e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue