Skip to content

Dosx001/mouselessV2

Repository files navigation

logo mouselessV2

Firefox add-on

mouselessV2 is a fork of mortie/mouseless-plugin, with extra features and bug fixes.

mouselessV2 vs mouseless

Features mouselessV2 mouseless
User Settings Sync to your Firefox account Saved locally to your machine
Key Bindings Vim like key bindings Orignal key bindings
Presets * ✔️
On and Off Switch * ✔️
Clipboard Paste ✔️
Duplicate Tab ✔️
Open New Window from link ✔️
Open Private Window from link ✔️
Scroll to Top of Page ✔️
Scroll to Bottom of Page ✔️

*See Improvements and Fixes section for more information

Key Bindings

Key Binding Action
; Show blobs
Enter Click on element
Ctrl+Enter Open tab to link
Alt+Enter Middle mouse click
Shift+Enter Save link from element into clipboard
Alt+p Paste from clipboard to element
Tab Focus on element
Escape Unfocus current element
Alt+w / Alt+Shift+W Open a new/private window from link
Alt+s Search highlighted text on new tab
Alt+Shift+S Search highlighted text on current tab
Ctrl+Alt+s Search highlighted text on new window
Alt+l / Alt+h Go one page forward/back in history
Alt+j / Alt+k Scroll down/up
Alt+Shift+J / Alt+Shift+K Scroll down/up fast
Alt+Shift+H / Alt+Shift+L Scroll left/right
Alt+g / Alt+Shift+G Scroll to the top/bottom of the page

Global Key Bindings

Use anytime on any tab. Non-global key bindings need exension to load onto web page first.

Key Binding Action
Alt+a / Alt+Shift+A Detach/reattach tab
Alt+u Duplicate tab
Alt+p / Alt+n Switch to the left/right tab
Alt+Shift+P / Alt+Shift+N Move current tab to the left/right

Improvements and Fixes

Improve Element Location Seeker

When using mouseless, you'll notice as you scroll through a page some elements are not selectable, such as elements in a top bar, sidebar, or popup. mouseless finds every element's absolute position based on the document and checks if the element is inside your scroll view. While mouselessV2 finds every element's relative position to the viewport and checks if the element is inside the viewport.

mouselessV2 mouseless
mouselessV2 mouseless

mouseless Randomly Stops Working

This has been fixed with the removal of On and Off Switch feature. mouselessV2 can still be turned on and off in the about:addons settings page.

Presets

Presets were removed from mouselessV2. However, User Settings now syncs to your Firefox account, so you can make any changes to key binding and those changes will persist in all instances of Firefox where you are login.

The reasoning for the removal was I need to come up with new key bindings for each present for the new actions I added. That would be difficult work since I don't use any other keyboard layouts. Plus, the removal has made the code much simpler without presets.

Modifiers

mouselessv2 allows you to use multiple modifiers for key bindings

e.g. <Crtl><Alt><Shift>U <Crtl>u <Crtl><Shift>U <Crtl><Alt>u