搜尋 Mozilla 技術支援網站

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

Learn More

Why does the Mobile bookmarks toggle in About:config revert back to true rather than remember its setting?

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I do not want to see this crap in my bookmarks bar. The toggle lets me change it from true to false and when I change it then either close and reopen or hit Sync now it reverts back to true and never hides the folder.

This and "other bookmarks" need to be removable!

I do not want to see this crap in my bookmarks bar. The toggle lets me change it from true to false and when I change it then either close and reopen or hit Sync now it reverts back to true and never hides the folder. This and "other bookmarks" need to be removable!

所有回覆 (1)

more options

You can only hide this section permanently via that pref when you do not use Sync. A possible workaround is to use mozilla.cfg to lock this pref via a lockPref("browser.bookmarks.showMobileBookmarks", false) call or use code in userChrome.css to hide this section.

The latter is not possible in the sidebar and on Mac also not in the Bookmarks menu (the menu bar is under control of the Mac OS). I don't know how it works if you exclude the bookmarks from Sync.


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 */

#BMB_mobileBookmarks, #menu_mobileBookmarks {display:none!important;}
#BMB_mobileBookmarks, #menu_mobileBookmarks + menuseparator {display:none!important;}