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

Error: This script should only be loaded in a browser extension. when importing bridge in the window context #7

Open
celsobonutti opened this issue Sep 30, 2021 · 2 comments

Comments

@celsobonutti
Copy link

celsobonutti commented Sep 30, 2021

Error: This script should only be loaded in a browser extension.

Version used: 5.0.0

Errors is thrown from webextension-polyfill when trying to import bridge in a window context.

Using Chromium 93.0.4577.63 and Mozilla Firefox version 92.0, both on ArchLinux

@pakholeung37
Copy link

pakholeung37 commented Jan 28, 2022

Same. Something similar to zikaari/crx-bridge#7, don't know did he fix it.

@zikaari
Copy link
Collaborator

zikaari commented Jun 29, 2022

Fixed in #24

Please help us expedite the merge and release by reviewing the PR and testing the code locally on your system to make sure it's all good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants