Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to write a WebExtension in WebAssembly?

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?

like image 595
Vanzef Avatar asked Sep 23 '18 18:09

Vanzef


1 Answers

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/

like image 71
gib Avatar answered Dec 07 '22 09:12

gib