We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Preventing Sensitive Sites from Showing in Tiles

  • 2 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 emrys

more options

As a web application developer, is there a way to prevent my app's site from showing up as a tile in the New Tab view, without any Firefox configuration changes or end-user intervention? For example, is there some way to serve the page (e.g., with particular headers) that will prevent it from appearing as a tile?

My use case is a private corporate web app that serves highly confidential images, and those images and pages containing them should never appear in the New Tab view of any user that uses the app. It is not possible to rely on Firefox settings changes to accomplish this, because there are users whose browser I have no control over.

I've seen the other questions about how end-users can affect tiles, and none of those are relevant, since I need a way that doesn't require end user intervention. I also searched bugzilla and didn't see any tickets there discussing this issue, and I wasn't able to find any webapp-developer-focused documentation about tiles.

As a web application developer, is there a way to prevent my app's site from showing up as a tile in the New Tab view, without any Firefox configuration changes or end-user intervention? For example, is there some way to serve the page (e.g., with particular headers) that will prevent it from appearing as a tile? My use case is a private corporate web app that serves highly confidential images, and those images and pages containing them should never appear in the New Tab view of any user that uses the app. It is not possible to rely on Firefox settings changes to accomplish this, because there are users whose browser I have no control over. I've seen the other questions about how end-users can affect tiles, and none of those are relevant, since I need a way that doesn't require end user intervention. I also searched bugzilla and didn't see any tickets there discussing this issue, and I wasn't able to find any webapp-developer-focused documentation about tiles.

所有回复 (2)

more options

hi, as per bug 754608 you might want to use Cache-Control: no-store to avoid thumbnails being created.

more options

Thanks for the response. That kind of works, and it's good enough for my needs.

What I found is that having "Cache-Control: no-store,no-cache" on the image itself does not prevent the image being visible in the tile, but having "Cache-Control: no-store", as you suggest, on the entire page sort of works: FF will still create a tile for the site in that case, but the tile will have no content. It'll just have a tile with the title underneath, but the tile image is blank.

Adding 'no-store' for the page itself does not affect tiles for sites that have already been visited and have a tile though.