Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

Webserver header to block offering AI summaries?

I host a website, and don't want browsers (particularly Firefox) offering modified versions to others. Is there a header or something I can set webserver-side to disallow Firefox from offering the option?

This doesn't work:

add_header Cache-Control "no-store, no-transform, public" always;

I host a website, and don't want browsers (particularly Firefox) offering modified versions to others. Is there a header or something I can set webserver-side to disallow Firefox from offering the option? This doesn't work: add_header Cache-Control "no-store, no-transform, public" always;

すべての返信 (1)

I'll repost my comment from r/Firefox:

If you mean the Link Preview feature (Preview webpages in Firefox with link preview), the request for the HTML of the page includes a custom header:

While we don’t currently send cookies, we do send a custom x-firefox-ai header allowing website authors to potentially decide what content can be previewed.

Source: https://blog.mozilla.org/en/firefox/firefox-ai/ai-link-previews-firefox/

The source code shows how the header is set:

https://searchfox.org/firefox-release/source/browser/components/genai/LinkPreviewChild.sys.mjs#66

You could try returning a 403?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。