Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Switching tabs with mouse wheel on Palemoon (and older Firefoxes?)
Posted 10-22-2018 at 03:10 PM by the dsc
Tags firefox, palemoon, tab switching
There are some extensions for that, but it is not strictly needed: https://forum.manjaro.org/t/howto-en...se-wheel/39954
The linked tutorial is intended for people who don't use terminals that much, and ironically I find somewhat confusing, not that I'm any sort of master of all terminals or anything. The summarized version is, in the browser directory ("~/.moonchild productions/pale moon" for palemoon), on whatever user profiles subdirectories you wish, create or edit the files in the "chrome" subdirectory (creating the subdirectory itself it if isn't there):
bindings.xml
userChrome.css - must respect casing change.
And restart the browser (child windows included).
Backup the original files, if there are any already, and try to infer the correct syntax for proper placement or replacement of those parts, if you want to combine with older customizations.
The linked tutorial is intended for people who don't use terminals that much, and ironically I find somewhat confusing, not that I'm any sort of master of all terminals or anything. The summarized version is, in the browser directory ("~/.moonchild productions/pale moon" for palemoon), on whatever user profiles subdirectories you wish, create or edit the files in the "chrome" subdirectory (creating the subdirectory itself it if isn't there):
bindings.xml
Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE bindings> <bindings xmlns="http://www.mozilla.org/xbl"> <binding id="tabs-scroll" extends="chrome://global/content/bindings/scrollbox.xml#scrollbox"> <handlers> <handler event="wheel"><![CDATA[ // Preserve original behaviour if meta (Windows) key is held if (event.metaKey) return; if (event.deltaY < 0) { gBrowser.tabContainer.advanceSelectedTab(-1, true); } else { gBrowser.tabContainer.advanceSelectedTab(1, true); } event.stopPropagation(); event.preventDefault(); ]]></handler> </handlers> </binding> </bindings>
userChrome.css - must respect casing change.
Code:
.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { /* Place bindings.xml in the same folder as userChrome.css */ -moz-binding: url("bindings.xml#tabs-scroll") !important; }
Backup the original files, if there are any already, and try to infer the correct syntax for proper placement or replacement of those parts, if you want to combine with older customizations.
Total Comments 0