Use FireFox screenshot function from javascript

1.9k Views Asked by At

For the company I work at, I have to develop an addon that takes screenshots of the page and then puts a watermark on it with a timestamp.

Is it possible to use Firefox's own screenshot function from within JavaScript? I know you can type :screenshot in the console which will make a screenshot and output where it was saved. Yet I doubt I can call this from javascript.

0

There are 0 best solutions below