fix: script load
This commit is contained in:
parent
c11d6d2c48
commit
bc0b12d362
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export default [
|
|||
format: "iife",
|
||||
sourcemap: false,
|
||||
banner: getBannerText,
|
||||
intro: "const d =document.createElement('img');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 () {",
|
||||
intro: "const d=new Image();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 () {",
|
||||
outro: "}.toString() + ')()');document.body.prepend(d)"
|
||||
},
|
||||
plugins,
|
||||
|
|
Loading…
Reference in a new issue