In Firefox 85 and earlier, the "tabs" permission was required instead. Access to these properties by host permissions is supported since Firefox 86 and Chrome 50.To access Tab.url, Tab.title, and Tab.favIconUrl (or to filter by these properties via tabs.query()), you need to have the "tabs" permission, or have host permissions that match Tab.url.You can use most of this API without any special permission. You can't directly access the content hosted by tabs using this API, but you can insert JavaScript and CSS into tabs using the tabs.executeScript() or tabs.insertCSS() APIs. You can use this API to get a list of opened tabs, filtered by various criteria, and to open, update, move, reload, and remove tabs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |