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

Sometimes the extension doesn't work at all and no error messages are displayed #18

Open
captainbrosset opened this issue Dec 12, 2017 · 0 comments
Labels

Comments

@captainbrosset
Copy link
Owner

Try this:

No results are shown.

Opening the addon debugger (via about:debugging), the following error is shown:

Can't send message to content script, port not open background.js:28:5
	sendToContentScript moz-extension://0b5c3e28-2ff4-594c-b2f2-35630b312b5c/background_scripts/background.js:28:5
	<anonymous> moz-extension://0b5c3e28-2ff4-594c-b2f2-35630b312b5c/background_scripts/background.js:23:3

This happens if the content script didn't load for some reason.
My suspicion for now is that this particular page define CSP headers, and that prevents the content script from being injected.

We should show an error message in the panel to warn users. Or better yet, find a way to fix this.

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