搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Please can you tell me how to completely remove or disable the 'forget' button feature

  • 13 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 John99

more options

i do not want it available at all. I know how to hide it in the "additional tools and features" but it can be whipped out, tracks covered, and then hidden again . which is great for people who want double lives, but not so great for families trying to maintain accountability.

i do not want it available at all. I know how to hide it in the "additional tools and features" but it can be whipped out, tracks covered, and then hidden again . which is great for people who want double lives, but not so great for families trying to maintain accountability.

所有回覆 (13)

more options

Keep in mind that you can easily clear each of the involved history items yourself (e.g. cache, cookies, history) or use use "Clear Recent History" or simply open a PB mode window and visit websites in PB mode.

If you want to see which sites have been visited then you should look at other means outside Firefox like a router or firewall with a password protected logging feature that can't be bypassed or a program like Wireshark to log internet access.

It wouldn't be too difficult to hide the forget button with code in userChrome.css Best is to move the button to the Customize palette if it is still visible. This code should hide the button in the Customize palette and on a toolbar.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#wrapper-panic-button, #panic-button { display: none !important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

You can use this button to go to the current Firefox profile folder:

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file

由 NoahSUMO 於 修改

more options

Firefox has a range of methods to "lock down" the browser, but these can involve some arcane files. Perhaps a little icon hiding in combination with an add-on like the following will be discouragement enough?

https://addons.mozilla.org/firefox/addon/disable-private-browsing-pl/

There is always a workaround if someone's Windows account has permission to modify files, so you may need to step up to "parental control" software with external logging.

more options

I already have the add on to disable private browsing and to disable delete history. i was hoping for a similar one-step process to disable the forget button

the instructions by cor-el above look frighteningly complicated for me

more options

Go to the address bar and type about:customizing and hit Enter Then click and drag the "Forget" button to the "Additional Tools and Features" pane

For more details you can try this. https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars

more options

i am trying to be very clear i want to permanently disable this button , not hide it. in the same way i already disable private browsing with an add on.

more options

cor-el said

It wouldn't be too difficult to hide the forget button with code in userChrome.css Best is to move the button to the Customize palette if it is still visible. This code should hide the button the the Customize palette and on a toolbar. Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#wrapper-panic-button, #panic-button { display: none !important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

You can use this button to go to the current Firefox profile folder:

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file

Can you help me do this. I cant even find the starting point to begin to follow your instructions. i have a windows 7 computer.

more options

also i do not have chrome its firefox 44.0.2

more options

Hi kinsella:

(1) To disable the forget button you could look for another extension. Style rule changes can only hide the button.

(2) Mozilla has used the term chrome to refer to the user interface parts of Firefox for a very long time. Another company liked it so much they borrowed it for their browser, operating system, a stripped down laptop, a television dongle... but cor-el's advice is for Firefox.

More step by step:

(A) Open the currently active profile folder from the support information page, either:

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

(B) Make sure Windows shows all file extensions. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

(C) If you see a folder named chrome here, double-click into it.

If you do not see a folder named chrome here: click the New Folder button and create one. Note: the name must be all lower case. Then double-click into the folder.

(D) If you see a file named userChrome.css here, right-click it and choose Edit.

If you do not see a file named userChrome.css here: right-click a blank area of the folder, click New, then Text Document. Change the file name to userChrome.css (all lower case except the C) and make sure to remove .txt from the end. Confirm to Windows that you understand you're changing the file extension. Then right-click it and choose Edit.

(E) Check the top line of the file. It should be the following, copy/paste if necessary:

@namespace url("http://www.mozilla''.''org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

(F) Add the following style rules to the end of the file (starting after a blank line):

#wrapper-panic-button, #panic-button { display: none !important; }

(G) Save the file (Ctrl+s), exit Firefox and start it up again to test whether the rule takes effect.

由 jscher2000 - Support Volunteer 於 修改

more options

jscher2000 said

</blockquote>

thank you for those instructions which i was able to follow. Unfortunately though, it had no effect and the forget button is still an option in the customise pad

more options

Maybe I shouldn't tell you this but anyone with normal access to Firefox can install and uninstall a completely new browser such as Opera in almost no time flat.

more options

True, that's why i have a password protected admin account which is the only account that allows installation of programmes.

more options

any more advice please as the coding in the chrome folder did not work

more options

Trying to lock down the browser effectively is difficult there are usually ways round it. Often those trying to circumvent any measures know as much or more than those trying to implement them. If the problem is with Children; not only are they often experts on computers, they often have other devices or means of using the internet.

kinsella said

True, that's why i have a password protected admin account which is the only account that allows installation of programmes.

So I hope you also protect the OS & Bios. Or someone could use an alternative OS.

What is the addon to disable private browsing ? Did you take any steps to prevent use of: Safe mode, an alternative profile, or disabling plugins.