clean scramjet scripts from dom

This commit is contained in:
velzie 2024-08-09 19:56:02 -04:00
parent 066777fe94
commit 0c0490e751
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
5 changed files with 25 additions and 2 deletions

View file

@ -22,3 +22,7 @@ if (!(ScramjetClient.SCRAMJET in self)) {
runtime.hook();
}
}
if ("document" in self && document.currentScript) {
document.currentScript.remove();
}