Hello, I was looking at WXT extension framework which supports multiple UI frameworks, but they are all JavaScript frameworks only. Is there any alternative way to write Firefox browser extension in a different language (like Rust / Python / Go, etc.) with minimal or no JavaScript, with a ok developer experience?

Transpilation to JavaScript is fine if it is well supported in Firefox with ok developer experience.

I also checked Dart but its support on Firefox does not seem great, like the extension only works on Chrome browsers.

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 8 months ago

Well, you could presumably at least use web-sys for interacting with the DOM and wasm-bindgen in general for generating the boilerplate.

But yeah, there might not be a pre-made library for interacting with the extension API, so might need to write your own JS←→WASM bindings.

  • source
  • parent