fix: anti-detection

modify error stack script
This commit is contained in:
Xmader 2020-12-05 18:53:16 -05:00
parent c8467bf5b7
commit baa2be3ca3
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4

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(`(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 () {",
intro: "new Promise(resolve=>{const id=''+Math.random();(typeof unsafeWindow=='object'?unsafeWindow:window)[id]=resolve;setTimeout(`(function a(){window['${id}'](new Image())})()//# sourceURL=${location.href}`)}).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,