forked from ppfun/pixelplanet
adjustments of bodyScript
This commit is contained in:
parent
723b9ce9ac
commit
616f6f7918
|
@ -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;i<e.children.length;i+=1)sr(e.children[i]);}};const a=new MutationObserver(e=>e.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;i<e.children.length;i+=1)sr(e.children[i]);}};const a=new MutationObserver(e=>e.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');
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user