mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-08-16 19:30:27 +03:00
feat(isolation): script now removes itself to hide key from DOM (#9328)
This commit is contained in:
parent
7c334cb185
commit
a804a70a7a
5
.changes/isolation-script-remove-itself.md
Normal file
5
.changes/isolation-script-remove-itself.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-utils": patch:enhance
|
||||
---
|
||||
|
||||
The isolation iframe script now removes itself after execution.
|
@ -135,4 +135,6 @@
|
||||
}
|
||||
|
||||
setTimeout(waitUntilReady, readyIntervalMs)
|
||||
|
||||
document.currentScript.remove()
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user