How to remove the Open All In Tabs options in the Bookmarks menu
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
Giải pháp được chọn
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}Đọc câu trả lời này trong ngữ cảnh 👍 2
Tất cả các câu trả lời (3)
Giải pháp được chọn
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}
Thanks - the warning works.
Cheers.
- Jack
You're welcome