mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
clean scramjet scripts from dom
This commit is contained in:
parent
066777fe94
commit
0c0490e751
5 changed files with 25 additions and 2 deletions
|
@ -22,3 +22,7 @@ if (!(ScramjetClient.SCRAMJET in self)) {
|
|||
runtime.hook();
|
||||
}
|
||||
}
|
||||
|
||||
if ("document" in self && document.currentScript) {
|
||||
document.currentScript.remove();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue