Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** @param {NS} ns */
- export async function main(ns) {
- const getProps = (obj) =>
- Object.entries(obj).find(entry => entry[0]?.startsWith('__reactProps'))?.[1]?.children?.props;
- Array.from(eval("document")
- .querySelectorAll("[class*=MuiBox-root]"))
- .map(box => getProps(box))
- .find(x => x?.player)
- ?.router
- .toDevMenu();
- }
Advertisement
Add Comment
Please, Sign In to add comment