-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
experiment with a public stable browser API that extensions can use #16294
Conversation
IDK yet what it will look like, just trying things out
I think calling it api is confusing. Maybe something more descriptive like eventHub or something. |
here it would be accessed as But yeah |
You added it to site, not window. I get what you want, but API is too generic. Maybe something else. |
if a goal is to steer people away from window.site, |
another option is window.public - the container object for everything (save site.analysis) that siderite is sanctioned to abuse |
window.api is fine too. it's not like an extension should be confused about where api comes from |
IDK yet what it will look like, just trying things out