mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
Fix hcaptcha, discord still has the issue with "Invalid remote authentication ticket", but this is feature parity with UV
This commit is contained in:
parent
a375e46dea
commit
7e89193170
4 changed files with 6 additions and 3 deletions
|
@ -8,9 +8,11 @@ export const windowProxy = new Proxy(window, {
|
|||
return locationProxy;
|
||||
} else if (
|
||||
propIsString &&
|
||||
["window", "top", "parent", "self", "globalThis"].includes(prop)
|
||||
["window", "top", "self", "globalThis"].includes(prop)
|
||||
) {
|
||||
return windowProxy;
|
||||
} else if (propIsString && prop == "parent") {
|
||||
return window.parent
|
||||
} else if (propIsString && prop === "$scramjet") {
|
||||
return;
|
||||
} else if (propIsString && prop === "addEventListener") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue