Keyboard shortcut to address the Bookmarks toolbar ?

Discussion of general topics about Mozilla Firefox
Locked
sr71
Posts: 35
Joined: February 27th, 2004, 6:38 am

Keyboard shortcut to address the Bookmarks toolbar ?

Post by sr71 »

Hi all,

Is there any keyboard shortcut to address the Bookmarks toolbar. Thanks in advance.
Orions_Stardom
Posts: 660
Joined: August 1st, 2004, 12:47 am
Location: Bathurst, NSW

Post by Orions_Stardom »

As far as I know, there isn't. You can however use Ctrl - B (also Ctrl - I on Windows) to open and close the Bookmarks sidebar, which does a similar job.
User avatar
mai9
Posts: 1619
Joined: January 15th, 2003, 3:41 pm
Location: Barcelona
Contact:

Post by mai9 »

what does "address the bookmarks toolbar" mean?
sr71
Posts: 35
Joined: February 27th, 2004, 6:38 am

Post by sr71 »

mai9 wrote:what does "address the bookmarks toolbar" mean?

Assume you display the bookmarks toolbar and are looking for a way to use this bookmarks toolbar with the keyboard only, without :

- using the trick of displaying the bookmarks in the sidebar, pointed out by Orions_Stardom (I would like still to have full display in width)
- using Alt-B and navigating in the FF application's menu (not very user-friendly)
User avatar
mai9
Posts: 1619
Joined: January 15th, 2003, 3:41 pm
Location: Barcelona
Contact:

Post by mai9 »

ah ok, I don't know how to address the bookmakr toolbar, then
fallout33
Posts: 57
Joined: May 15th, 2004, 5:10 pm

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by fallout33 »

Does one of you know how to enable/disable the "View -> Toolbars -> Bookmarks Toolbar" by using a keyboard shortcut?

Or do you know the name of the internal function for the call for this menu?
If I knew the name of this function then I could tell the keyconfig add-on to call this function and enable and disable the bookmarks toolbar.

Or do you know its value in the about:config?
Perhaps toggling it instantly issues the command for hiding/unhiding it.
robertmarley
Posts: 106
Joined: March 20th, 2008, 1:09 pm

REQ: Keyboard shortcut to toggle Bookmarks toolbar

Post by robertmarley »

fallout33 wrote:Does one of you know how to enable/disable the "View -> Toolbars -> Bookmarks Toolbar" by using a keyboard shortcut?

I have the same request!!
I use the Hide Menubar add-on to hide the menubar and it works absolutely perfect I think, giving me a ALT shortcut, and it only appears when you release that ALT-button only. Not by pressing ALT+CTRL+Up Button for instance.
I would like to be able to do a similar thing with the bookmarks toolbar. Like pressing CTRL+ALT+1 toggles the bookmarks toolbar.
So I'm posting in this thread first to see if anything happens, else I will create a new thread later (having a appropriate name).
What I am most keen about is if someone could give me the keyconfig code to achieve what is requested. And then explain how to implement it.
Making a add-on would also be okay, but I prefer the above.
(Also, I do recall once stumbling on a underground add-on (one that is not hosted on AO red.) to assign different shortcuts for different toolbars... Does such a add-on exist?)
Peace
robertmarley
Posts: 106
Joined: March 20th, 2008, 1:09 pm

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by robertmarley »

@fallout33: Wow I found it :O....:
Louise6380 wrote:
dorando wrote:
Louise6380 wrote:I want to set a shortcut for toggling show/hide of bookmarks and navigation toolbar but I can't find the command. Does anybody know how to do this?
Try

Code: Select all

var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");
. Replace "PersonalToolbar" with "nav-bar" for the Navigation Toolbar, or "toolbar-menubar" for the Menu.

Thanks, it's working great!

1. Access Keyconfig manager window by pressing CTRL+SHIFT+F12...
2. Choose 'Add a new key'
3. Write what ever name you like in the 'Name' field (I choose "Hide Bookmarks Toolbar" as name)
4. Copy the code and paste the code
5. Assign shortcut (After some thinking I like CTRL+ALT+0(zero) better than CTRL+ALT+1 as it is quicker/more ergonomic, Edit: can't be done :(, CTRL+ALT+1 is the only number you can use, but what the heck :P. Edit2: Just came up with a better shortcut that is possible: CTRL+ALT+O)
6. Restart FF

It works (I'm on FF3Final)... Yay :D, Superb :)
fallout33
Posts: 57
Joined: May 15th, 2004, 5:10 pm

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by fallout33 »

robertmarley wrote:

Code: Select all

var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");

Thank you. This code works for me too.
I didn't come across this thread while I was searching the forum.
raymm
Posts: 27
Joined: November 12th, 2005, 10:01 pm

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by raymm »

an add-on to assign different shortcuts for different toolbars... Does such a add-on exist?
bpittsy
Posts: 1
Joined: February 23rd, 2010, 8:55 am

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by bpittsy »

fallout33 wrote:
robertmarley wrote:

Code: Select all

var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");

Thank you. This code works for me too.
I didn't come across this thread while I was searching the forum.


You can also hide the status bar by replacing "PersonalToolbar" with "status-bar"
User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Keyboard shortcut to address the Bookmarks toolbar ?

Post by LIMPET235 »

This thread is from 2004 >
Thanks but it needs to rest.
Locking.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked