mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-07 21:52:20 +01:00
Squash Odysseus development history
This commit is contained in:
@@ -114,6 +114,10 @@ export function __pr6020StreamStateSmoke() {
|
||||
module_uri = module_path.as_uri()
|
||||
script = f"""
|
||||
globalThis.window = globalThis;
|
||||
Object.defineProperty(globalThis, 'navigator', {{
|
||||
value: {{ platform: 'Linux' }},
|
||||
configurable: true,
|
||||
}});
|
||||
globalThis.addEventListener = () => {{}};
|
||||
globalThis.removeEventListener = () => {{}};
|
||||
globalThis.dispatchEvent = () => {{}};
|
||||
|
||||
Reference in New Issue
Block a user