feat(isolation): script now removes itself to hide key from DOM (#9328)

This commit is contained in:
Lucas Fernandes Nogueira 2024-04-01 12:43:29 -03:00 committed by GitHub
parent 7c334cb185
commit a804a70a7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"tauri-utils": patch:enhance
---
The isolation iframe script now removes itself after execution.

View File

@ -135,4 +135,6 @@
}
setTimeout(waitUntilReady, readyIntervalMs)
document.currentScript.remove()
})()