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

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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;

All Replies (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?

Cuir ceist

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.