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;
Alle svar (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?