I wanna make copy to clipboard button. to copy bank account number.
How to make it?
I wanna make copy to clipboard button. to copy bank account number.
How to make it?
This would require running JS code on a form element.
There aren't any built in features to do this in Hype, so you would need to run JavaScript in Hype functions:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard
Sorry I'am not understand about article which you share. I am is not understand so much about coding. do you have an html or java script which I just copy?
Before I have this code from another web:
https://kangjaz.com/post/cara-membuat-copy-to-clipboard-sederhana-dengan-javascript
But it's not working.
this should enable copying without scripting, just add some data-attributes