opr.sidebarAction bg script?
-
A Former User last edited by
I see that there is no background script for sidebar extensions.
Is that mean that script(s) called from main html will have all (direct) access to Chrome/Opera APIs just like they are executing in bg page?
tabs, storage, chrome://favicon/, downloads...etc -
for_d last edited by
The APIs will be available for sidebar scripts just like for browser/page action pages, although no active tab permission will be granted. Also currently (this is still being designed and discussed) sidebar action pages are similar to browser/page action popups in the sense that they are loaded when the panel is shown and closed together with panel. The extension can have the background script and panel page interacting with each other and must have the required permissions to use specified APIs.
-
A Former User last edited by
ok tnx
Is there going to be limitation in the way that, sidebar extension can't have browser action or page action icon?
in other words, can SB extension have toolbar or omnibar icon? (I guess not both, but at least one of them)edit: actually, SB icon is probably counted as browser action...
so I guess that will also block any page action icons...