Hello
I wanted the script of a button to copy some var to the clipboard to use outside of OSC so I genuinely tried :
navigator.clipboard.writeText(txt)
... and this seems to break OSC.
Still, can it be done ?
Hello
I wanted the script of a button to copy some var to the clipboard to use outside of OSC so I genuinely tried :
navigator.clipboard.writeText(txt)
... and this seems to break OSC.
Still, can it be done ?
The navigator object is not exposed, hence the error.
Oh wait with the built-in client the navigator
global variable does cause a crash ! Ok then, I'll expose it to prevent that.
It's exposed as globals.navigator
globals.clipboard
in v1.9.1.