Hi, I am looking for a tool to make screenshots of pages without opening new visible tab for them. When Firefox supported XUL, I have used SpeedDial. When Firefox moved to WebExtensions, addons were cut of most browser-related functionality.
Currently as I see it in other addons, they are using browser.tabs.captureTab()
method, while opening needed url in “invisible” tab. The problem is that this tab can be hidden only from direct displaying, while they still appear in taskbar(previews) and tabbar. Also when they appear(even in temporary “invisible” window), browser window goes in focus, which fail any drag’n’drop process.
As a result, the only working way to do a screenshot is using html2canvas tool, while loading this page on background page in iframe.
So there are my questions:
- Are there any plans for developing of normal screenshot tool? In example you can add a function, which will create an HTML-object with restricted content, which will load/cache/refresh thumbnails by itself, but not allowing these thumbnails to be accessible by JS-code for security reasons(i.e. display only element).
- If you wont develop a screenshoting tool, then what about invisible window/tab, which wont distract OS and user for background processes? I mean, it should be really invisible. Like a background page, but supported by
browser.tabs.captureTab()
.