Skip to content

Instantly share code, notes, and snippets.

@michaelDpierce
Last active May 5, 2020 00:14
Show Gist options
  • Select an option

  • Save michaelDpierce/f53c13897a2ec2d9e80781b773d4de30 to your computer and use it in GitHub Desktop.

Select an option

Save michaelDpierce/f53c13897a2ec2d9e80781b773d4de30 to your computer and use it in GitHub Desktop.
Feature-Policy Standard Options as 'none' for APIs
add_header Feature-Policy "accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; battery 'none'; camera 'none'; display-capture 'none'; document-domain 'none'; encrypted-media 'none'; fullscreen 'none'; execution-while-not-rendered 'none'; execution-while-out-of-viewport 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; navigation-override 'none'; payment 'none'; picture-in-picture 'none'; sync-xhr 'none'; usb 'none'; wake-lock 'none';";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment