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

搜索 | 用户支持

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

详细了解

How can I disble the forget button, like when you disable private browsing?

  • 4 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 the-edmeister

more options

I just want to disable the forget button so that no history may be erased. Hopefully in the same manner in which I've disabled private browsing. How can I do this?

I just want to disable the forget button so that no history may be erased. Hopefully in the same manner in which I've disabled private browsing. How can I do this?

所有回复 (4)

more options

How have you disabled Private Browsing?

more options

There's an add-on I downloaded that disables deleting your history and opening the private browser

more options

...which will be easily circumventable by pressing the shift-key while firefox is launching and going into safemode. there will be no reliable way to prevent users from clearing their history in firefox.

more options

As philipp mentioned, the Disable Private Browsing extension is easily overriden by opening Firefox in the SafeMode.

I helped RichieB the developer of Disable Private Browsing do beta testing was it was ready for users. The Add-on approval team didn't like one aspect of that extension (hiding the extension from the Addons window so users wouldn't even know that it was installed - only showed when in SafeMode) and RichieB had to remove that feature before they would allow DPB on the Addons website. They made a new "rule" about not hiding an extension in the UI after seeing that extension.

There is a Bug report (#1269296) that was filed in May 2016 that requested a feature to remove the Forget button. There was mention of adding a WebExtenbsions API; other comments mentions it being made part of an "enterprise policy" which isn't in the current initiative for Web Extensions. And a few developers mentioned that they "didn't see the point" in adding that type of feature to Firefox. Hasn't been any progress towards making a decision about that feature; it will probably get a WONTFIX category.

All I can suggest is to move it into Additional Tools & Features via Customize or hide it via userChrome.css rules. http://kb.mozillazine.org/UserChrome.css Sorry, I don't know the code that is needed to hide that button.