Oliver Nassar

Chrome/Web Extensions: Global Shortcut Strange Behaviour

While working on Bookee, I discovered some strange behaviour with respect to keyboard shortcuts to activate Chrome (and likely Web) Extensions.

When the scope for a Chrome or Web Extension is set to Global (rather than Chrome), the background script (or worker script for mv3) can have trouble detecting whether the current page is the new-tab page.

I wrote about the Global Shortcut earlier, which provides more context on how to allow your extension users to change a keyboard combination's scope.

I'm still working on diagnosing why the change of scope causes issues with the tab URL detection. More to come.


Updates