cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
deltab
New member
Status: New idea

Some APIs such as accessing the clipboard or playing a video require user interaction when called from a page, but I'd like to be able to call them from the console, e.g. navigator.clipboard.writeText(document.title).

Currently in Firefox I have to add a button with an event handler to the page, so that I can click the button to call the method I want; if I just type what I want into the console it fails for lack of user activation. Typing into the console should count too!

Chrome already has this: https://issues.chromium.org/issues/40829355

1 Comment
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.