X
Tap here to go to the mobile version of the site.

منتدى الدعم

How do I remove the seperation lines in the "Show your bookmarks" drop down menu?

Posted

Hello,

In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture?

[img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg/img


Thank you.

Hello, In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture? [img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg[/img] Thank you.

Chosen solution

Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is:

#BMB_bookmarksShowAll .menu-accel-container
Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Shockwave Flash 26.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0

More Information

jscher2000
  • Top 10 Contributor
8880 solutions 72669 answers

Avengement said

Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down?

That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout.

See next reply

''Avengement [[#answer-1018246|said]]'' <blockquote>Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down? </blockquote> <s>That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout.</s> ''See next reply''

Modified by jscher2000

jscher2000
  • Top 10 Contributor
8880 solutions 72669 answers

ردّ مُفيد

jscher2000 said

Avengement said
Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down?

That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout.

Actually, it's still there if I scroll to the bottom. I guess I have a lot of bookmarks.

What do you mean by "the line mentioning Ctrl+Shift+b"?

If you mean want to style the keyboard shortcut while keeping the rest of the button "as is," the class name selector targeting the accelerator key element is:

#BMB_bookmarksShowAll .menu-accel-container

If you want to style the button, the selector is:

#BMB_bookmarksShowAll

Does that cover it?

''jscher2000 [[#answer-1018259|said]]'' <blockquote> ''Avengement [[#answer-1018246|said]]'' <blockquote>Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down? </blockquote> That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout. </blockquote> Actually, it's still there if I scroll to the bottom. I guess I have a lot of bookmarks. What do you mean by "the line mentioning Ctrl+Shift+b"? If you mean want to style the keyboard shortcut while keeping the rest of the button "as is," the class name selector targeting the accelerator key element is: #BMB_bookmarksShowAll .menu-accel-container If you want to style the button, the selector is: #BMB_bookmarksShowAll Does that cover it?

صاحب السؤال

jscher2000 said

jscher2000 said
Avengement said
Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down?

That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout.

Actually, it's still there if I scroll to the bottom. I guess I have a lot of bookmarks.

What do you mean by "the line mentioning Ctrl+Shift+b"?

If you mean want to style the keyboard shortcut while keeping the rest of the button "as is," the class name selector targeting the accelerator key element is:

#BMB_bookmarksShowAll .menu-accel-container

If you want to style the button, the selector is:

#BMB_bookmarksShowAll

Does that cover it?

Sounds like it should.

I will give this a go with a hex editor later today when I've got more time.

Thanks for the continued help.

''jscher2000 [[#answer-1018261|said]]'' <blockquote> ''jscher2000 [[#answer-1018259|said]]'' <blockquote> ''Avengement [[#answer-1018246|said]]'' <blockquote>Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down? </blockquote> That no longer exists in Firefox 56 so... I have no idea. If you cannot find it using the tools mentioned in this thread, maybe you can search for threads from years past when the menu had a different layout. </blockquote> Actually, it's still there if I scroll to the bottom. I guess I have a lot of bookmarks. What do you mean by "the line mentioning Ctrl+Shift+b"? If you mean want to style the keyboard shortcut while keeping the rest of the button "as is," the class name selector targeting the accelerator key element is: #BMB_bookmarksShowAll .menu-accel-container If you want to style the button, the selector is: #BMB_bookmarksShowAll Does that cover it? </blockquote> Sounds like it should. I will give this a go with a hex editor later today when I've got more time. Thanks for the continued help.

صاحب السؤال

Not finding that bit of code in version 50.

Would this be it?


<menuseparator/>

           
           <menuitem id="BMB_bookmarksShowAll"
                     class="subviewbutton panel-subview-footer"
                     label="&showAllBookmarks2.label;"
                     command="Browser:ShowAllBookmarks"
                     key="manBookmarkKb"/>
         </menupopup>
       </toolbarbutton>

Attached is an image for reference:

Not finding that bit of code in version 50. Would this be it? ---------------------------------------------------------------------------------------------------------- <menuseparator/> <!-- Bookmarks menu items will go here --> <menuitem id="BMB_bookmarksShowAll" class="subviewbutton panel-subview-footer" label="&showAllBookmarks2.label;" command="Browser:ShowAllBookmarks" key="manBookmarkKb"/> </menupopup> </toolbarbutton> --------------------------------------------------------------------------------------------------------- Attached is an image for reference:
cor-el
  • Top 10 Contributor
  • Moderator
17769 solutions 160708 answers

Note that there are two lines with "Show All Bookmarks" in the "Show your bookmarks" drop-down list (button next to the star), one at the top of the menu and one at the bottom.

Attached is a screenshot that shows this part of the actual page code in Firefox 56 after the code of browser.xul has been processed.

What exactly do you want to remove since the title is about remove the separation lines in the "Show your bookmarks" drop-down menu?

Note that there are two lines with "Show All Bookmarks" in the "Show your bookmarks" drop-down list (button next to the star), one at the top of the menu and one at the bottom. Attached is a screenshot that shows this part of the actual page code in Firefox 56 after the code of browser.xul has been processed. *https://dxr.mozilla.org/mozilla-release/source/browser/base/content/browser.xul What exactly do you want to remove since the title is about <b>remove the <u>separation lines</u> in the "Show your bookmarks" drop-down menu</b>?
jscher2000
  • Top 10 Contributor
8880 solutions 72669 answers

Chosen Solution

Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is:

#BMB_bookmarksShowAll .menu-accel-container
Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is: #BMB_bookmarksShowAll .menu-accel-container

صاحب السؤال

Avengement said

Not finding that bit of code in version 50. Would this be it?

<menuseparator/>

           
           <menuitem id="BMB_bookmarksShowAll"
                     class="subviewbutton panel-subview-footer"
                     label="&showAllBookmarks2.label;"
                     command="Browser:ShowAllBookmarks"
                     key="manBookmarkKb"/>
         </menupopup>
       </toolbarbutton>

Attached is an image for reference:

The thread was a 2 part question. The first one regarding the seperation lines at the top was resolved using the "Menu Filter" extension.

I'm aware that there are two seperate "Show All Bookmarks" entries with one at the top and another at the bottom. I'm only interested in removing the additional text from the bottom one.

''Avengement [[#answer-1018322|said]]'' <blockquote> Not finding that bit of code in version 50. Would this be it? ---------------------------------------------------------------------------------------------------------- <menuseparator/> <!-- Bookmarks menu items will go here --> <menuitem id="BMB_bookmarksShowAll" class="subviewbutton panel-subview-footer" label="&showAllBookmarks2.label;" command="Browser:ShowAllBookmarks" key="manBookmarkKb"/> </menupopup> </toolbarbutton> --------------------------------------------------------------------------------------------------------- Attached is an image for reference: </blockquote> The thread was a 2 part question. The first one regarding the seperation lines at the top was resolved using the "Menu Filter" extension. I'm aware that there are two seperate "Show All Bookmarks" entries with one at the top and another at the bottom. I'm only interested in removing the additional text from the bottom one.

صاحب السؤال

jscher2000 said

Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is: #BMB_bookmarksShowAll .menu-accel-container

Yes, I understand.

However, when I search for the key words ".menu-accel-container" nothing comes up as found in 50 leading me to believe your version is slightly different then mine.

''jscher2000 [[#answer-1018381|said]]'' <blockquote> Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is: #BMB_bookmarksShowAll .menu-accel-container </blockquote> Yes, I understand. However, when I search for the key words ".menu-accel-container" nothing comes up as found in 50 leading me to believe your version is slightly different then mine.
cor-el
  • Top 10 Contributor
  • Moderator
17769 solutions 160708 answers

Just use the code as posted by jscher2000. There is JavaScript used to generate the actual page code, so you won't find it via a search.

See:

Just use the code as posted by jscher2000. There is JavaScript used to generate the actual page code, so you won't find it via a search. See: *https://dxr.mozilla.org/mozilla-release/source/toolkit/content/widgets/menu.xml
jscher2000
  • Top 10 Contributor
8880 solutions 72669 answers

Avengement said

However, when I search for the key words ".menu-accel-container" nothing comes up as found in 50 leading me to believe your version is slightly different then mine.

I already mentioned the DOM Inspector and Element Inspector extensions to identify items on menus. Please use them.

''Avengement [[#answer-1018431|said]]'' <blockquote> However, when I search for the key words ".menu-accel-container" nothing comes up as found in 50 leading me to believe your version is slightly different then mine. </blockquote> I already mentioned the DOM Inspector and Element Inspector extensions to identify items on menus. Please use them.