Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcut injection throwing errors #2

Closed
neocotic opened this issue Apr 20, 2011 · 1 comment
Closed

Keyboard shortcut injection throwing errors #2

neocotic opened this issue Apr 20, 2011 · 1 comment
Assignees
Labels
Milestone

Comments

@neocotic
Copy link
Member

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.

@ghost ghost assigned neocotic Apr 20, 2011
@neocotic neocotic reopened this Jun 3, 2011
@neocotic
Copy link
Member Author

This has been fixed to an extent but chrome will throw errors when attempting to inject these scripts as protected pages load. However, these errors should have no damaging effect to the extension.

neocotic added a commit that referenced this issue May 20, 2013
@neocotic neocotic removed the Error label Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant