-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome / Firefox Extension APIs #71
Comments
You want to write browser extensions in Rust? That's... certainly an interesting idea! I think that would be out of scope of |
@Pauan Did you ever get started on writing WebExtensions API for stdweb? Edit: For future people, I found this rustwasm/gloo#21 |
@amaurymartiny I've completely moved to wasm-bindgen. I have some WebExtensions APIs created, but they're not published yet. |
There are Chrome and Firefox extension APIs which I would like to use.
Should they be added to this repo, or to a separate repo? If it's okay to add them to this repo, then I'll send some pull requests implementing them. I have a lot of experience using those APIs, so I know how to work around some bugs/quirks in them.
However, almost all of the extension APIs are asynchronous, so stdweb will need good Promise support first.
Also, ideally we should be able to write extensions that can work on either Chrome or Firefox. That could be accomplished either with runtime polyfills, or with conditional compilation within Rust.
The text was updated successfully, but these errors were encountered: