MozillaZine

Remove Bookmark This Page...

Discussion of features in Mozilla Firefox
Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted June 13th, 2004, 3:22 pm

Can anyone figure out how to hide Bookmark This Page... from the Bookmarks dropdown menu that will not also hide it from the right click context menu?

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040612 Firefox/0.8.0+

Ă„kiidoll

User avatar
 
Posts: 5473
Joined: August 16th, 2003, 2:03 pm
Location: USA

Post Posted June 13th, 2004, 7:05 pm

bozz wrote:Can anyone figure out how to hide Bookmark This Page... from the Bookmarks dropdown menu that will not also hide it from the right click context menu?

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040612 Firefox/0.8.0+

http://www.mozilla.org/projects/help-vi ... ation.html
Customizing Firefox wrote:How Do I Customize the Toolbars?
There are two basic methods of customizing the toolbars in Firefox:

* Adding/Removing Toolbars
* Rearranging Items on the Toolbars

Adding/Removing Toolbars
You can take away certain toolbars if you do not wish to keep them on your screen. Currently, these toolbars can be removed:

* Navigation Toolbar
* Bookmarks Toolbar

You cannot currently remove the Menu Bar because you cannot move the menu items (File, Edit, Help, etc.) to a different toolbar, and they must stay on the screen at all times.

To remove a toolbar, look in the View menu on your Menu Bar. Go to View > Toolbars. You should see a few menu items. The top ones (above the separator) are the toolbars you may show. Toolbars currently shown are checked, and toolbars currently hidden are not checked. To show or hide a toolbar, simply click its menu item. The toolbar will now be shown or hidden based on your choice.

To add a toolbar, look under the View menu on the Menu Bar. Go to View > Toolbars and click Customize. Click on Add New Toolbar (in the bottom of the dialog). This should give you a dialog to enter a name. Enter a name, click OK, and then click Done. Now open the View > Toolbars menu, and you should see your new toolbar listed. Follow the procedures in the previous section to show or hide it.
A prisoner of Christ Jesus, by His stripes I was healed

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted June 14th, 2004, 2:12 am

Thanks Caetck, chuckles here. The first pref below hide's Bookmark This Page... from the Bookmarks drop down menu and also the right click menu. The second pref worked in 0.8. The other two were just a shot in the dark. Can anyone figure out how to only hide it in the Bookmark drop down menu?

menuitem[label="Bookmark This Page..."] { display: none; }
menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none; }

Ă„kiidoll

User avatar
 
Posts: 5473
Joined: August 16th, 2003, 2:03 pm
Location: USA

Post Posted June 15th, 2004, 11:04 pm

bozz wrote:Thanks Caetck, chuckles here. The first pref below hide's Bookmark This Page... from the Bookmarks drop down menu and also the right click menu. The second pref worked in 0.8. The other two were just a shot in the dark. Can anyone figure out how to only hide it in the Bookmark drop down menu?

menuitem[label="Bookmark This Page..."] { display: none; }
menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none; }

Bozz thanks alot, I removed it, its always been a pain cuz the
bookmark never got put in a folder. The code goes in the
userChrome.css file. There are 2 versions, 1 for Firefox and
1 for Mozilla. Yours didnt work for Mozilla, so I had to modify it. :p

For Mozilla:
Code: Select all
/* Hide "Bookmark This Page" from menu drop down */
menuitem[label="Bookmark This Page"] { display: none; }
menu[label="Bookmark This Page"] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page"] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page"] { display: none; }

For Firefox:
Code: Select all
/* Hide "Bookmark This Page..." from menu drop down */
menuitem[label="Bookmark This Page..."] { display: none; }
menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none !important; }
#navigator-toolbox menu[label="Bookmark This Page..."] { display: none; }
A prisoner of Christ Jesus, by His stripes I was healed

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted June 20th, 2004, 2:58 pm

The pref hides it from the dropdown menu and the right click context menu. I only would like to remove it only from the Bookmarks dropdown menu which worked before 0.9. Maybe I'll resort to the keyboard shortcut, cntrl+D or just get used to it.

dkg1
 
Posts: 79
Joined: June 20th, 2004, 7:13 pm
Location: California

Post Posted June 20th, 2004, 7:17 pm

Here's what I did. It might not be the most efficient way to do it but it works for me.

For Firefox 0.9

To remove "Add Bookmark Here" and "Bookmark This Page..." from the
main Bookmarks Menu, and only have "Bookmark This Page..." appear
in the RightClick-in-the-body-of-the-browser Context Menu,
use the following procedure:

1. Install the 'Add Bookmark Here' extension(Add_Bookmark_Here_0.5.xpi)

2. Configure the 'Add Bookmark Here' options:
Check -> Don't use any dialog when adding bookmarks
Show menu item in: Context Menu
Menu position: Top
Check -> 'Hide Add to bookmarks'

3. Add the following Code to userChrome.css:

/* Hide "Add Bookmark Here" from menu drop down */
menuitem[label="Add Bookmark Here"] { display: none; }
menu[label="Add Bookmark Here"] { display: none !important; }
#navigator-toolbox menu[label="Add Bookmark Here"] { display: none !important; }
#navigator-toolbox menu[label="Add Bookmark Here"] { display: none; }

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 2 guests