mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
scramjet
This commit is contained in:
parent
cf9e5a3418
commit
82a95e71b0
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ export const windowProxy = new Proxy(window, {
|
|||
return locationProxy;
|
||||
} else if (propIsString && ["window", "top", "parent", "self", "globalThis"].includes(prop)) {
|
||||
return windowProxy;
|
||||
} else if (propIsString && prop === "$scramjet") {
|
||||
return;
|
||||
}
|
||||
|
||||
return target[prop];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue