Hello, I am developping my first addon with WebExtensions API (available on AMO here and on GitHub here) and I am facing some issues with detecting new created tabs:
- In Firefox 56, when I click the “Restore previous session” button the event browser.tabs.onCreated is not triggered whereas when I restore tabs one by one this event is triggered. Moreover, there is neither browser.tabs.onRestored nor browser.sessions.onRestored events according to MDN.
- In Firefox Android >= 54, the event browser.webNavigation.onCreatedNavigationTarget is not triggered if we click on links contrary to Firefox Desktop and Chrome.
How can I detect when tabs are created/restored via the “Restore previous session” button?
Is there an alternative method to detect when a tab is created by a link in Android?