Google Introduces Feature Policy
Feature Policy allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser. Browser support for Feature Policy is currently limited to Chrome, however, many of the use cases usable right now, without causing any impact visitors using unsupported browsers.
Feature Policy allows you to opt-in to a set of “policies” for the browser to enforce on specific features used throughout your site. These policies restrict what APIs the site can access or modify the browser’s default behavior for certain features.
For example you can control the features of an iframe, currently supported by Chrome and Safari. If you embed a site and do not want that site to use geolocation, camera or microphone APIs then you can easily disable them.
<iframe allow="geolocation 'none'; camera 'none'; microphone 'none'">
Read more about Feature Policy at Google
POSTED: 2018-12-11

A Toronto area web design company
Web Design Toronto, Perry Township, Huntsville, Bracebridge, Gravenhurst: Mocoda Interactive
Mocoda Interactive, Web Design, Graphic Design, Photography, Social Media, Search Engine Optimization, Local Search Solutions, and Web Hosting. Serving the Greater Toronto Area and the world from Perry Township, Ontario, which includes the towns of Clear Lake, Emsdale, Novar, Scotia, Swindon, and Walls; adjacent to Huntsville - Muskoka, Ontario, Canada. The District Municipality of Muskoka, more generally referred to as the District of Muskoka or Muskoka, is a regional municipality in Central Ontario, Canada. Muskoka is populated with several villages and towns, farming communities, lakeside vacation hotels and resorts near golf courses, country clubs, and marinas. Its regional government seat is Bracebridge, and its largest population centre is Huntsville. The District Municipality of Muskoka includes the towns of Bracebridge, Gravenhurst, and Huntsville, as well as the townships of Georgian Bay, Lake of Bays, and Muskoka Lakes.


