mirror of
https://github.com/yt-dlp/ejs.git
synced 2026-06-20 04:01:18 +00:00
10 lines
305 B
TypeScript
10 lines
305 B
TypeScript
import { parse } from "meriyah";
|
|
|
|
export const setupNodes = parse(`
|
|
globalThis.XMLHttpRequest = { prototype: {} };
|
|
const window = Object.assign(Object.create(null), globalThis);
|
|
window.location = new URL("https://www.youtube.com/watch?v=yt-dlp-wins");
|
|
const document = {};
|
|
let self = globalThis;
|
|
`).body;
|