This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Error: This script should only be loaded in a browser extension. when importing bridge in the window context #7
Comments
17 tasks
The very thing that I skip testing, is the thing that fails. Will separate the window context messaging hooks into a separate file. How blocked are you? |
I'm currently using version 2, it's working perfectly for us |
window(like inject script) still can not call Bridge.setNamespace. |
For now can you guys try using version |
This was referenced Jul 29, 2021
Fixed in serversideup/webext-bridge#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. |
Fixed as part of |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error: This script should only be loaded in a browser extension.
Errors is thrown from
webextension-polyfill
when trying to import bridge in the window context.Using Chrome Version 86.0.4240.111
The text was updated successfully, but these errors were encountered: