Installing browser extensions #4145
-
Win32 What is basic approach for managing extensions? How are they installed etc? Is there sample code? |
Beta Was this translation helpful? Give feedback.
Answered by
victorhuangwq
Apr 3, 2024
Replies: 1 comment 6 replies
-
Hi! We recently promoted browser extensions API in the pre-release SDK. You can try it out in the pre-release SDK |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @ajtruckle you would have to obtain your own unpacked extension, and then call the https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2profile7?view=webview2-1.0.2194-prerelease&preserve-view=true#addbrowserextension
on it.
Here's a sample code: https://github.com/MicrosoftEdge/WebView2Samples/blob/main/SampleApps/WebView2APISample/ScenarioExtensionsManagement.cpp
There's also a thread here as well: #3694