dragtotab
| DragToTab MileWideBack ResizeSearchBox SubmitToTab KeywordSelection PopupSound DragToScroll Screenshots Installation Mailing List FAQ |
Customization (Experts Only):
There is currently no user-friendly method for customizing the behavior of each mouse button. I just don't have enough time to make an interface for it. But you can change it by editing the below "preferences" in your "about:config" panel. Please note that editing your "about:config" preferences should only be done by experts.
There are currently 5 customizable actions:
| Action | Behavior (Default) | Preference Name |
|---|---|---|
| Left mouse button | Navigate Back | milewideback.left |
| Right mouse button | Navigate Forward | milewideback.right |
| Middle mouse button | Close current tab | milewideback.middle |
| Mouse Wheel scroll up | Cycle through tabs (left) | milewideback.middle_up |
| Mouse Wheel scroll down | Cycle through tabs (right) | milewideback.middle_dn |
Below are new behaviors you can associate with an action. The list is not exhaustive, but I just picked out the most frequent ones. To use them, pick the new behavior (below) that you want and pick an action (above) to associate it with. Then get the "Preference Name" (above) for that action, and get the "Javascript Code" (below) for the new behavior. Then change the "Preference Value" (see screenshot) of the associated "Preference Name" to the corresponding "Javascript Code" (below).
| New Behavior | Javascript Code |
|---|---|
| Nothing | (blank) |
| Navigate Back | BrowserBack(event); |
| Navigate Forward | BrowserForward(event); |
| Stop Navigation | BrowserStop(); |
| Reload Page | BrowserReload(); |
| Close current tab | gBrowser.removeCurrentTab(); |
| Cycle through tabs (left) | gBrowser.mTabContainer.advanceSelectedTab(-1, true); |
| Cycle through tabs (right) | gBrowser.mTabContainer.advanceSelectedTab(1, true); |
| New Window | OpenBrowserWindow(); |
| New Tab | BrowserOpenTab(); |
| Open/Close Sidebar | toggleSidebar(); |
| Open/Close Bookmarks Sidebar | toggleSidebar('viewBookmarksSidebar'); |
| Navigate to Homepage | BrowserHome(); |
| Zoom In text | ZoomManager.prototype.getInstance().enlarge(); |
| Zoom Out text | ZoomManager.prototype.getInstance().reduce(); |
| Find In This Page | onFindCmd(); |
| Find Again | onFindAgainCmd(); |
| Minimize Window | window.minimize(); |
