I want to make the newtab override in a Chrome Extension optional. A user should be able to see a dashboard on their newtab page, OR, if they don't want to, turn that off and use the standard Chrome one (or another extension).
However, I'm having problems with this.
Previously, we checked this setting on each time a new tab was opened using the chrome.tabs.onUpdated API. However, Google didn't like this without the chrome_url_overrides manifest permission and pulled the extension from the webstore.
After adding the chrome_url_overrides the setting which shows/hides the dashboard on newtab is broken and it shows the dashboard on 100% of new tabs.
Does anyone have a workaround for this?