Build browser extensions easily with Blazor.
MIT License
Bot releases are hidden (Show)
Published by mingyaulee about 3 years ago
JsBind.Net
as a direct dependencyPublished by mingyaulee about 3 years ago
Breaking changes:
WebExtensions.Net
no longer ships JavaScript content files, which is now handled by its dependency JsBind.Net
and the JavaScript content files are included as RCL content, which is in the path /content/JsBind.Net
. Therefore, the manifest.json
needs to be updated from "WebExtensionsScripts/" to "content/"
Published by mingyaulee about 3 years ago
Updated build and publish targets to output to a separate directory instead of manipulating default output directory.
Note: The directory of the browser extension output is now browserextension
instead of wwwroot
Published by mingyaulee over 3 years ago
Fixed build error in template
Published by mingyaulee over 3 years ago
Template:
Published by mingyaulee over 3 years ago
Published by mingyaulee over 3 years ago
dotnet publish --no-build
the property RazorComponent is not definedPublished by mingyaulee over 3 years ago
Published by mingyaulee over 3 years ago
builder.Services.AddScoped<HttpClient>(sp => new JsHttpClient(sp) { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
Published by mingyaulee over 3 years ago
Updated WebExtension package reference version from v0.6.0 to v0.7.0
Published by mingyaulee over 3 years ago
Updated options page definition in extension manifest to options_ui
from options_page
.
Published by mingyaulee over 3 years ago
Published by mingyaulee over 3 years ago
Fixed issue #3: _content
folder from RCL is not renamed during publish.
Published by mingyaulee over 3 years ago
Added dotnet template for creating new project.
Published by mingyaulee over 3 years ago
Breaking changes:
WebExtension
property in base page is renamed to WebExtensions
WebExtension
namespace is renamed to WebExtensions
WebExtension
is renamed to WebExtensions
Upgrading guide:
WebExtension
namespace and property to WebExtensions
manifest.json
for the web_accessible_resources
value "WebExtensionScripts/*"
to "WebExtensionsScripts/*"
Published by mingyaulee over 3 years ago
Published by mingyaulee over 3 years ago
IBrowserExtensionEnvironment
to get the browser extension mode (Standard/ContentScript/Debug) instead of using IWebAssemblyHostEnvironment
BrowserExtensionEnvironment
to set the environment of applicationBreaking change:
BlazorBrowserExtension.InitializeAsync
now accepts environment name instead of project name.Published by mingyaulee over 3 years ago
Published by mingyaulee over 3 years ago
Added bootstrapping in build package to allow easier first time setup. Refer to readme for more details.
Published by mingyaulee over 3 years ago
Core JavaScripts are now imported as ES6 modules.
Breaking change: previously undocumented JavaScript API BlazorBrowserExtension.Initialize
is now renamed to BlazorBrowserExtension.InitializeAsync