mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
inject into the dr1ft.xyz copy
This commit is contained in:
parent
61552afd6e
commit
0b1180273e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue