bnovoa / feature-policy

A mechanism to selectively enable and disable browser features and APIs

Home Page:https://wicg.github.io/feature-policy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Policy

A web platform API which gives a website the ability to allow and deny the use of browser features in its own frame, and in iframes that it embeds. Examples of features that could be controlled by feature policy include:

  • getUserMedia (Camera, Speakers and Microphone)
  • Fullscreen
  • Geolocation
  • MIDI
  • Payments
  • Synchronous XHR
  • Synchronous scripts
  • Lazyload
  • ...

The spec is hosted on this repo, at https://wicg.github.io/feature-policy/

For more explanation, use cases, examples, etc., please refer to the explainer document.

Questions, suggestions? Please open an issue or send a pull request!

About

A mechanism to selectively enable and disable browser features and APIs

https://wicg.github.io/feature-policy/

License:Other


Languages

Language:Shell 100.0%