Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Søg i 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.

Læs mere

Webserver header to block offering AI summaries?

more options

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;

Alle svar (1)

more options

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?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.