mingyaulee / Blazor.BrowserExtension

Build browser extensions easily with Blazor.
https://mingyaulee.github.io/Blazor.BrowserExtension/
MIT License
381 stars 42 forks source link

Are there extensions in the web store that were created using this repo? #128

Closed Tony20221 closed 5 months ago

Tony20221 commented 6 months ago

Are there extensions in the web store that were created using this repo? Are there working examples of browser extensions on Github that are based on this repo?

mingyaulee commented 6 months ago

There are examples of browser extensions in the repositoryBlazor.BrowserExtension.Samples.

You can also look at a list of GitHub projects dependent on this package in the dependents insight page.

EdgeExtensionsBlazor is published on the Edge extension store.

Amazing-Favorites/Amazing-Favorites is published on the Edge and Chrome extension store.

Tony20221 commented 5 months ago

Amazing favorites is using manifest version 2 which is getting deprecated these days. Is there an extension in Chrome Store that uses version 3?

My concern is that Google might not accept extensions developed with Blazor or WebAssembly in manifest 3 as they have more stringent rules with it. I noticed in the extension files with *.dll.br extension. Are these the actual dll's? I am not sure what the .br extension is about.

Doesn't Google check the regular Javascript based extensions for security holes and malware? I am not sure how they do the same for webassembly files.

mingyaulee commented 5 months ago

.Net 7 and before compiles to .dll whereas .Net 8 compiled to .wasm by default, you can look at https://github.com/dotnet/runtime/issues/80807 for this format.

.br is the Brotli compression so that the packaged extension is much smaller in size. I suppose the chrome web store will ask for your source code if you attempt to publish an extension using wasm.

Chrome extensions have a sample project for showcasing using wasm in extension, which would not make sense if they don't allow extensions built with wasm to be published.