Is it possible to write a WebExtension in WebAssembly?
Asked Answered
G

1

7

I wonder if it is possible to use WebAssembly to develop an add-on for Firefox.

I doubt that it is possible to do completely in WASM, but what about WASM core with minimal JavaScript wrapper?

Gosney answered 23/9, 2018 at 18:59 Comment(2)
I don't see why not. Why don't you try it? You could start from this tutorial: developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/…Cheremkhovo
it would be interesting to do it with Kotlin. It can work as JS or as WebAssembly with the same Kotlin code.Jam
D
5

Yes, there are already WebExtensions using wasm, e.g. see the release notes for uBlock Origin 1.17.4.

Source: https://www.reddit.com/r/firefox/comments/a4072a/can_i_use_wasm_in_webextensions/

Dulcie answered 18/3, 2019 at 3:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.