fix: load script
This commit is contained in:
parent
4b91be54a6
commit
e142c7a3db
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:';d.setAttribute('onloadstart', 'this.remove();(' + function () {",
|
||||
intro: "const d =document.createElement('img');d.style.display='none';d.src='data:';d.once=false;d.setAttribute('onloadstart','if(this.once)return;this.once=true;this.remove();(' + function () {",
|
||||
outro: "}.toString() + ')()');document.body.prepend(d)"
|
||||
},
|
||||
plugins,
|
||||
|
|
Loading…
Reference in a new issue