Robbi
unread,May 22, 2022, 11:09:23 AMMay 22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, hrg...@gmail.com, wOxxOm, Robbi
I've been banging my head since this morning.
It would seem that
<all_urls> allows you to capture ONLY the ACTIVE tab without necessarily having to click on the browseAction.
I tried via tab.update to divert the focus to another tab and then to take the photo and it works ONLY if the page schema is NOT chrome://
With
the activeTab permission, on the other hand, it also works on pages
with a chrome:// schema as long as the "activeTab" grant is given to the
tab by clicking on the browserAction.
After the tab has acquired that grant, captureVisibleTab can be used through a simple button.
Behavior, in my opinion, very strange.
I develop a small extension for testing purpouse.
Clicking the browserAction the first time, a page extension opens with same buttons
whereas the following clicks (on browserAction) activate the tabs.captureVisibleTab on current tab.
In manifest file there is already <all_urls> permission.
It can
obviously
comment this permission and add "activeTab" to perform all combination tests