Custom FireGesture script to use both wheel gesture(up/down) to switch tab
The default behavior of FireGestrure’s wheel gesture is like this: hold right mouse key down, scroll down mouse wheel one time, then a list of tabs is shown and current tab is selected, one should scroll down one more time to select next tab. the fist scroll down is interpreted as “show the switch tab drop list”, as they do not use both wheel up/down for tab switching.
but when i want to use both wheel up/down to switch between tabs, the default behavior is annoying, what i want is that the cursor should scroll to last/next tab in the list as soon as i scroll the wheel up/down for the first time. the default command can’t meet my requirement, after some researching, my solution is a short piece of custom script:
FireGestures._buildPopup(”FireGestures:AllTabsPopup”, event.type == “DOMMouseScroll”, null);
FireGestures.handleEvent(event);
