Join GitHub today
Keyboard shortcut injection throwing errors #2
It seems that sometimes the errors are being thrown when injecting the shortcuts.js script in to open tabs caused by undeclared permissions in the manifest. So far I believe this only happens for special pages (e.g. chrome_://_) as these permissions cannot be requested for these but could potentially be for others.
A possible solution involves wrapping each injection with a try/catch block and/or checking for special pages.