Run the Extension Inside the Worker #303
-
Hi, I want to run an extension in Does using |
Beta Was this translation helpful? Give feedback.
Answered by
CGNonofr
Dec 27, 2023
Replies: 1 comment 11 replies
-
Yes, the first one will run in the worker, the other one in the browser directly. The registerExtension parameter allows to force it but it's not mandatory. Note that for the worker you'll need to provide the worker configuration to the extension service override, and the latter requires to import 'localExtensionHost' |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
cemalgnlts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the first one will run in the worker, the other one in the browser directly. The registerExtension parameter allows to force it but it's not mandatory.
Note that for the worker you'll need to provide the worker configuration to the extension service override, and the latter requires to import 'localExtensionHost'