how I can call console Firefox screenshot within javascript?

Viewed 41

Is it possible to use Firefox's screenshot function within JavaScript, there is :screenshot --clipboard (link here) in the console can I call it by java script ? I try some methods but it's return with

(Uncaught SyntaxError: expected property name, got ':')

0 Answers
Related