Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Firefox internal commands for some custom buttons

  • 5 antwurd
  • 1 hat dit probleem
  • 3 werjeftes
  • Lêste antwurd fan genD5

more options

Hi there! I have been looking for Firefox Browser internal commands list with commentaries describing what each of the commands is for. I want to add some custom toolbar buttons, so I need appropriate code for them. Particularly, I would like to learn the code (internal commands) for the following actions: 1. "Show All Download" in the Library / Ctrl+J Shortcut; 2. "Show All History" in the Library / Ctrl+Shift+H Shortcut.

I use this code for "Show All Bookmarks in the Library" custom toolbar button (Ctrl+Shift+B): gBrowser.selectedTab = gBrowser.addTab("chrome://browser/content/places/places.xul"

Unfortunately, you can't just replace "places.xul" with "downloads.xul" or "history.hul", while "browser/content/history/history-panel.xul" opens History Panel in the Side Bar and "browser/content/downloads/downloadPanel.xul" won't work at all.

Hi there! I have been looking for Firefox Browser internal commands list with commentaries describing what each of the commands is for. I want to add some custom toolbar buttons, so I need appropriate code for them. Particularly, I would like to learn the code (internal commands) for the following actions: 1. "Show All Download" in the Library / Ctrl+J Shortcut; 2. "Show All History" in the Library / Ctrl+Shift+H Shortcut. I use this code for "Show All Bookmarks in the Library" custom toolbar button (Ctrl+Shift+B): gBrowser.selectedTab = gBrowser.addTab("chrome://browser/content/places/places.xul" Unfortunately, you can't just replace "places.xul" with "downloads.xul" or "history.hul", while "browser/content/history/history-panel.xul" opens History Panel in the Side Bar and "browser/content/downloads/downloadPanel.xul" won't work at all.

Bewurke troch genD5 op

Alle antwurden (5)

more options

Hello,

If I am understanding your question, are you both looking for a list of internal commands and a way to modify them?

For a list of keyboard shortcuts, please see: Keyboard shortcuts - Perform common Firefox tasks quickly

For an extension that allows you to modify your keyboard shortcuts: Customizable Shortcuts Add-on

more options

Hi, CoryMH. No, I am looking for the actual code which can be used for creating custom buttons as stated above. As the mater of fact, when you press a combination of buttons on the keyboard Firefox interprets it and executes a certain command associated with the keyboard shortcut. I need to figure out what exactly do I need to use in the "Code" section in the Button Creator which I use to create custom toolbar buttons. Something like JavaScript below: gBrowser.selectedTab = gBrowser.addTab("chrome://browser/content/places/places.xul"

Bewurke troch genD5 op

more options

PlacesCommandHook.showPlacesOrganizer('History'); PlacesCommandHook.showPlacesOrganizer('Downloads');

more options
more options

A ton of thanks, cor-el! Just what I wanted! Is there a full list of all internal commands with kind of "annotations", I wonder? I'm adjusting the default design of Firefox to make it look and feel like Opera, so I might need as many custom buttons as possible. Done some research but wasn't lucky to discover the list so far :)