mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
use $api.util.findFuncExports() instead of wc.findFunc()
This commit is contained in:
parent
b1e14663af
commit
1e35d74c8a
1 changed files with 3 additions and 3 deletions
|
@ -31,12 +31,12 @@
|
|||
document.addEventListener('ep-ready', () => {
|
||||
|
||||
// enable experiments
|
||||
wc.findFunc('isDeveloper')[1].exports.__defineGetter__('isDeveloper', () => true);
|
||||
$api.util.findFuncExports('isDeveloper').__defineGetter__('isDeveloper', () => true);
|
||||
|
||||
// disable that obnoxious warning about not pasting shit in the console
|
||||
wc.findFunc("SELF_XSS_HEADER")[1].exports.consoleWarning = e => { };
|
||||
$api.util.findFuncExports('consoleWarning').consoleWarning = e => { };
|
||||
|
||||
// goodies for bootsy and dr1ft
|
||||
// goodies for important people
|
||||
$api.util.wrapAfter(
|
||||
"wc.findCache('getUser')[0].exports.getUser",
|
||||
|
||||
|
|
Loading…
Reference in a new issue