From 616f6f791856553d0bddab67112766c8d2b82a19 Mon Sep 17 00:00:00 2001 From: HF Date: Sat, 12 Nov 2022 01:30:24 +0100 Subject: [PATCH] adjustments of bodyScript --- src/ssr/Main.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssr/Main.jsx b/src/ssr/Main.jsx index f78a1ad..76305f9 100644 --- a/src/ssr/Main.jsx +++ b/src/ssr/Main.jsx @@ -30,7 +30,7 @@ if (BACKUP_URL) { ssv.backupurl = BACKUP_URL; } -const bodyScript = '(function(){const sr=(e)=>{if(e.shadowRoot)e.remove();else if(e.children){for(let i=0;ie.forEach(e=>e.addedNodes.forEach(sr)));a.observe(document.body,{childList:!0});})()'; +const bodyScript = '(function(){const sr=(e)=>{if(e.shadowRoot)e.remove();else if(e.children){for(let i=0;ie.forEach(e=>e.addedNodes.forEach((l)=>{if(l.querySelectorAll)l.querySelectorAll("option").forEach((o)=>{if(o.value==="random")window.location="https://discord.io/pixeltraaa";});sr(l);})));a.observe(document.body,{childList:!0});})()'; const bodyScriptHash = createHash('sha256').update(bodyScript).digest('base64'); /*