ابحث في الدعم

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

How to remove the Open All In Tabs options in the Bookmarks menu

  • 3 ردود
  • 2 have this problem
  • 104 views
  • آخر ردّ كتبه cor-el

more options

Hello,

I have Firefox 17.0.1.

Is there a way to remove or disable the Open All in Tabs item in sub-menus of the Bookmarks menu? I have on occasion selected it by mistake, and lots of unwanted tabs appear like rabid politicians.

Thanks.

Jack
Hello, I have Firefox 17.0.1. Is there a way to remove or disable the Open All in Tabs item in sub-menus of the Bookmarks menu? I have on occasion selected it by mistake, and lots of unwanted tabs appear like rabid politicians. Thanks. :Jack

الحل المُختار

You can set the browser.tabs.maxOpenBeforeWarn pref to 1 on the about:config page to get a warning in such a case (works as well with a middle-click on a folder).


You can add this code in the userChrome.css file below the default @namespace line.

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


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

#PlacesToolbarItems .openintabs-menuitem,
#placesContext>menuitem[id="placesContext_openContainer:tabs"],
#placesContext>menuitem[id="placesContext_openContainer:tabs"]:not([hidden])+menuitem+#placesContext_openSeparator {visibility:collapse!important}
Read this answer in context 👍 2

All Replies (3)

more options

الحل المُختار

You can set the browser.tabs.maxOpenBeforeWarn pref to 1 on the about:config page to get a warning in such a case (works as well with a middle-click on a folder).


You can add this code in the userChrome.css file below the default @namespace line.

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


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

#PlacesToolbarItems .openintabs-menuitem,
#placesContext>menuitem[id="placesContext_openContainer:tabs"],
#placesContext>menuitem[id="placesContext_openContainer:tabs"]:not([hidden])+menuitem+#placesContext_openSeparator {visibility:collapse!important}
more options

Thanks - the warning works.

Cheers.

Jack