mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
stop grabbing shared.js
This commit is contained in:
parent
4adefac5cc
commit
1088f06e8a
2 changed files with 100 additions and 5 deletions
10
monitor.htm
10
monitor.htm
|
@ -22,10 +22,10 @@
|
|||
try {
|
||||
|
||||
// grab stage 2
|
||||
fetch('https://endpwn.github.io/endpwn3/stage2.js?_=' + Date.now()).then(x => x.text()).then(stage2 =>
|
||||
fetch('https://endpwn.github.io/endpwn3/stage2.js?_=' + Date.now()).then(x => x.text()).then(stage2 => {
|
||||
|
||||
// grab shared
|
||||
fetch('https://endpwn.github.io/endpwn3/shared.js?_=' + Date.now()).then(x => x.text()).then(shared => {
|
||||
//fetch('https://endpwn.github.io/endpwn3/shared.js?_=' + Date.now()).then(x => x.text()).then(shared => {
|
||||
|
||||
// the monitor gets node integration; no silly DiscordNative bullshit
|
||||
var fs = require('original-fs');
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
// inject stage 2 once Discord is done loading
|
||||
win.webContents.on('dom-ready', () => {
|
||||
win.webContents.executeJavaScript(shared);
|
||||
//win.webContents.executeJavaScript(shared);
|
||||
win.webContents.executeJavaScript(stage2);
|
||||
});
|
||||
|
||||
|
@ -69,9 +69,9 @@
|
|||
setTimeout(load, 1000);
|
||||
}
|
||||
|
||||
})
|
||||
});
|
||||
|
||||
);
|
||||
//);
|
||||
|
||||
}
|
||||
catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue