Skip to content
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

Disable web platform features and web APIs #29

Open
muodov opened this issue Aug 2, 2022 · 1 comment
Open

Disable web platform features and web APIs #29

muodov opened this issue Aug 2, 2022 · 1 comment

Comments

@muodov
Copy link
Contributor

muodov commented Aug 2, 2022

Disable web platform features and APIs

Submitter(s)

Maxim Tsoy, DuckDuckGo

Motivation

Depending on the use-case, (native) app developers may want to disable certain APIs available to the web content.
For example, DuckDuckGo apps would like to disable some APIs, such as Battery API, considered dangerous for users' privacy.

Stakeholders

WebView vendors, app developers

Analysis

Currently the only way to block certain APIs is via JS injections, which have certain limitations (see #20)

Related W3C deliverables and/or work items

Permissions Policy

How is the issue solved in the Browser, and what’s more is needed?

For some experimental APIs, browsers often have configuration flags. Some APIs can be disabled through Permissions Policy (aka Feature Policy), but the list of controlled features is limited and different per browser.

@QingAn
Copy link
Contributor

QingAn commented Aug 23, 2022

Collect more details and update the description @muodov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants