SEOツール

Permissions-Policyヘッダージェネレーター

サイト全体のブラウザ機能アクセスを制御するPermissions-Policy HTTPヘッダーを生成します。

ツールを読み込み中...

Permissions-Policyヘッダージェネレーターとは

Permissions-Policyヘッダージェネレーターは、サイト全体のブラウザ機能アクセスを制御するPermissions-Policy HTTPヘッダーを生成します。 出力は公開サイトに使う前に確認しやすい形で表示されます。

Quick answer

Use Permissions-Policy to disable browser features -- such as camera, microphone, geolocation, and autoplay -- that your site does not need. This improves privacy and prevents third-party scripts from accessing sensitive APIs.

Limitations

  • Permissions-Policy requires deployment via an HTTP header. GitHub Pages and many static hosts do not support custom headers; use the allow attribute on iframes or configure the host to send the header.
  • The older Feature-Policy header is deprecated. Browsers that support Permissions-Policy no longer process Feature-Policy.
  • Some browser features such as gamepad and screen-wake-lock are not yet supported in all browser engines.

使い方

  1. 必要な値を入力します。
  2. 結果パネルの出力を確認します。
  3. ページに合う部分だけコピーします。
  4. 公開前にブラウザとホスティング環境で確認します。

主な用途

  • 公開前の繰り返し作業を短くする。
  • マークアップ、CSS、チェックリストを準備する。
  • 静的サイトで見落としやすい小さなミスを減らす。

よくあるミス

  • 出力を確認せず本番に入れる。
  • 公開URLではなくローカルURLを使う。
  • build後に公開フォルダ内のファイルを確認しない。

Verification

  1. Inspect the Response Headers tab in DevTools Network panel to confirm the Permissions-Policy header is present.
  2. Test that blocked features generate a clear console warning rather than silently failing.

FAQ

Permissions-PolicyヘッダージェネレーターのFAQ

Permissions-Policyヘッダージェネレーターはブラウザ内で動きますか?

はい。現在のツールはブラウザで出力を生成する設計です。

出力のテストは必要ですか?

はい。テンプレート、ブラウザ、ホスティング設定に合わせて必ず確認してください。

関連ツール

その他のseoツール

こちらもお試しください

こちらもお試しください