Latest LQ Deal: Latest LQ Deals
Go Back > Blogs > linux-related notes
User Name


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.
Rate this Entry

Switching tabs with mouse wheel on Palemoon (and older Firefoxes?)

Posted 10-22-2018 at 03:10 PM by the dsc

There are some extensions for that, but it is not strictly needed:

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):


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bindings>
<bindings xmlns="">
    <binding id="tabs-scroll" extends="chrome://global/content/bindings/scrollbox.xml#scrollbox">
            <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);

userChrome.css - must respect casing change.

.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
    /* Place bindings.xml in the same folder as userChrome.css */
    -moz-binding: url("bindings.xml#tabs-scroll") !important;
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.
Posted in Uncategorized
Views 1121 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration