Dorando Keyconfig - Tabs Topic is solved

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Dorando Keyconfig - Tabs

Unread post by fatboy » 2023-09-06, 23:56

Good Day Folks,

I am using the latest Sealion build on Linux and am wondering how to configure Dorando so that I can move to next and previous tab.

For Palemoon the code in inpentadactyl's config is:

Code: Select all

 tabprevious 

Code: Select all

 tabnext 
However, I am not sure what the equivalent is for Sealion and Pale Moon.
When I look at the new tab code, it is

Code: Select all

 BrowserOpenTab 
, so I am thinking that

Code: Select all

 BrowserNextTab 

Code: Select all

 BrowserPreviousTab
are the candidates, but they aren't working. I have also tried swapping "Tab" and "Previous/Next" to give

Code: Select all

BrowserTabNext
.
What gives me how is that Ctrl+Tab and Ctrl+PageUp and Ctrl+PageDown works.

Where can I find info on codes for these default keybindings?

Thanks
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Dorando Keyconfig - Tabs

Unread post by fatboy » 2023-09-07, 12:10

So I managed to find the code snippets for switching tabs.

Code: Select all

gBrowser.mTabContainer.advanceSelectedTab(1);
Source: http://kb.mozillazine.org/Keyconfig_ext ... x#Next_Tab


Also found this amazing piece of code to show/hide bookmarks toolbar that can be used in Dorando to link with a keybinding

Code: Select all

var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");
"PersonalToolbar" can be replaced with nav-bar to show/hide nav bar
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Dorando Keyconfig - Tabs

Unread post by fatboy » 2023-09-08, 19:54

My next mission is to get "Show All Tabs" triggered with a keybinding in Sealion. With Pale Moon it's easy,

Code: Select all

allTabs.open();
But for Sealion it's a different kettle of fish
Systemd Free - MX Linux, Antix Linux & Artix Linux