Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Tiny macro: Toolbar Toggler (several at once, 1 click)
Posted by: siria
Date: September 09, 2019 01:14PM

For easy mass-toggling the visibility of several toolbars at once.
This works similar as toggling Fullscreen, but only for SINGLE, selected, inner toolbars
Customize inside the file which toolbars you want to toggle, and add your own ones.
This macro toggles only the normal default prefs, the same ones as in View>Toolbars>Toolbar Name



Menu: View > Toolbar Toggler (customizable) / KM75+ or right-click in a free toolbar space

KM-Version:
Works best in KM74 or newer.
In old KM1.x mass-toggling works only partially, new state becomes visible only in NEW WINDOWS. But you can get it fully working too, if you edit the macro yourself, it's just a bit tricky. The prob is this needs id-numbers, which are different in different profiles. As much as possible have prepared it, instructions are in the file

INSTALLATION: put the kmm-file in a macros folder, rename it and restart
UN-install: remove the kmm-file

After installation toggle 2x, because the first toggle is Off => ON

Known prob:
Title bar change is only visible in new window (which ID-number?)
For Title bar, Menu bar, Bookmarks bar etc: check also settings in F2 > GUI + Toolbars

For tweakers:
you can try adding toggles for all sorts of other stuff too, for example adjust the position of single toolbars when toggling on or off.

UPDATE version-2 (2019-09-09)
More descriptions, added Title bar, prepared workaround for old K-Meleon 1.x



Edited 3 time(s). Last edit at 09/09/2019 11:47PM by siria.

Attachments: ToolbarToggler_screens.png (15.7 KB)   ToolbarToggler.kmm (6.9 KB)  
Options: ReplyQuote
Re: Tiny macro: Toolbar Toggler (several at once, 1 click)
Posted by: siria
Date: September 09, 2019 11:52PM

UPDATE version-2 (2019-09-09)
More descriptions, added Title bar, prepared workaround for old K-Meleon 1.x

Any expert around who knows how to toggle the TITLE BAR instantly visible??
The pref is "kmeleon.display.hideTitleBar", but it's not a "toolband" pref, so doesn't get refreshed like all the others. And also unlike all the other toolbars, cannot figure out a possible id(20xx) number. The toolbars-xul file in omni.ja only toggles the pref too, and cannot search inside the github sources. Does it even have an id-number??

Options: ReplyQuote
Re: Tiny macro: Toolbar Toggler (several at once, 1 click)
Posted by: cpm1a_new
Date: September 10, 2019 03:42AM

>Any expert around who knows how to toggle the TITLE BAR instantly visible??

would be great if it is possible

Options: ReplyQuote


K-Meleon forum is powered by Phorum.