このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Feature Policy

説明

As noted on the Google Developers blog:

Feature Policy allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser. It’s like CSP but instead of controlling security, it controls features!

The feature policies themselves are little opt-in agreements between developer and browser that can help foster our goals of building (and maintaining) high quality web apps.

This plugin provides an API for sending the Feature-Policy response headers, as well as an admin interface for deciding which policy to apply for each feature.

As the Feature Policy specification is still evolving and at an early stage, the plugin reflects that and is currently an experimental prototype, to demonstrate how Feature Policy can be used in WordPress.

Did you know?

The Feature Policy specification will integrate with the new Reporting API specification. There is a WordPress plugin for that specification as well.

スクリーンショット

  • Settings screen to control policies for all available features
  • Settings screen with a link to Feature Policy reports (with the Reporting API plugin active)

インストール

  1. Upload the entire feature-policy folder to the /wp-content/plugins/ directory or download it through the WordPress backend.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Which browsers support the Feature Policy specification?

The Feature Policy standard is quite bleeding-edge, so support is currently still limited. The latest versions of Chrome, Safari, Opera and several mobile browsers support it. For detailed support stats, please check caniuse.com/#feat=feature-policy.

Where should I submit my support request?

Note that this is an experimental plugin, so support is limited and volunteer-driven. For regular support requests, please use the wordpress.org support forums. If you have a technical issue with the plugin where you already have more insight on how to fix it, you can also open an issue on Github instead.

How can I contribute to the plugin?

If you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the Github repository for the plugin. Please stick to the contributing guidelines.

You can also contribute to the plugin by translating it. Simply visit translate.wordpress.org to get started.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Feature Policy はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Feature Policy” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.1.0

  • Initial release