Skip to content

This provides sample codes for a Chrome Extension app built on Blazor WASM

License

Notifications You must be signed in to change notification settings

devkimchi/blazor-wasm-chrome-extension

Repository files navigation

Blazor WASM Browser Extension Sample

This provides sample codes for a cross-browser extension app built on Blazor WASM. This sample app originally started for building a Chrome extension with Blazor WASM, but it now does the cross-browser support including Chromium-based browsers and Mozilla FireFox.

Acknowledgement

This sample code includes Mozilla's WebExtension browser API Polyfill, which is licensed under MPL 2.0.

Getting Started

  1. Build the app

    dotnet build .
  2. Publish the app

    dotnet publish ./src/ChromeExtensionV2/ -c Release -o published
  3. Run PowerShell script

    ./Run-PostBuild.ps1
  4. Register the extension to your Chromium-based browser like Chrome or Edge, or Mozilla FireFox.

  5. Visit any website on https://developer.chrome.com, https://developer.mozilla.org or https://docs.microsoft.com.

  6. Run the extension by clicking the icon at the top of your web browser.

About

This provides sample codes for a Chrome Extension app built on Blazor WASM

Resources

License

Stars

Watchers

Forks

Packages

No packages published