-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add browser extension support #460
Comments
A couple of early thoughts about implementation. We could add a We may also be able to implement this entirely with message passing. Rather than exposing the values on a global, send a message at initialization and with each update. |
Some initial bootstrapped code is here: |
Tracking issue for work on the extension: oddsdk/odd-devtools#2 |
Issue covering communication with the extension: oddsdk/odd-devtools#8 |
Summary
Problem
Webnative does not expose information in a way that is accessible to browser extensions.
Impact
Browser extensions cannot easily interface with apps that use Webnative.
Solution
Implement an API that browser extensions can interface with to query Webnative for:
The information should only be exposed when the developer has set
debug
totrue
when initializing a Webnative program.Webnative should send messages to a browser extension when any of the above values change. We want to avoid polling for changes.
The text was updated successfully, but these errors were encountered: