Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla 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.

Learn More

removing backbutton dropdown history function

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर cor-el

more options

I am trying to disable the back button drop down menu that shows the last pages I have viewed.

I am trying to disable the back button drop down menu that shows the last pages I have viewed.

All Replies (2)

more options

I assume you don't want to actually delete the history -- just get rid of the drop-down.

Many parts of the Firefox interface are configurable with style rules.

The following rule will prevent the list from appearing when you click and hold the back button, but a right-click will still display the list. Not sure whether that is useful for your purposes.


@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); toolbarbutton#back-button > menupopup, toolbarbutton#forward-button > menupopup { display:none !important; visibility:hidden !important }

The two ways to apply style rules to the UI are (1) the userChrome.css file and (2) the Stylish add-on. More info available if you want to try either one.

more options

You can also the set the Integer pref browser.sessionhistory.max_entries to "0" on the about:config page.