fix: anti-detection

This commit is contained in:
Xmader 2020-12-04 14:44:28 -05:00
parent 73ad8618c2
commit 48c41d1c7c
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default [
format: "iife",
sourcemap: false,
banner: getBannerText,
intro: "new Promise(resolve=>{const id=''+Math.random();(typeof unsafeWindow=='object'?unsafeWindow:window)[id]=resolve;setTimeout(`window['${id}'](new Image())`)}).then(d=>{d.style.display='none';d.src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';d.once=false;d.setAttribute('onload','if(this.once)return;this.once=true;this.remove();(' + function a () {",
intro: "new Promise(resolve=>{const id=''+Math.random();(typeof unsafeWindow=='object'?unsafeWindow:window)[id]=resolve;setTimeout(`(function a(){(function a(){(function a(){(function a(){(function a(){(function a(){(function a(){(function a(){(function a(){window['${id}'](new Image())})()})()})()})()})()})()})()})()})()`/*size of error stack is 10*/)}).then(d=>{d.style.display='none';d.src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';d.once=false;d.setAttribute('onload','if(this.once)return;this.once=true;this.remove();(' + function a () {",
outro: "}.toString() + ')()');document.body.prepend(d)})"
},
plugins,