kbwarrior is a simple Chrome extension for people who like the idea of keyboard (or vim)-based web browsing, but for whom the existing extensions that provide such functionality either do too much or too little for their liking.
I aim to keep this simple, and am still not sure about the final feature set. For now though, this is what
jto scroll down a line
kto scroll up a line
hto scroll left (if applicable)
lto scroll right (if applicable)
uto scroll up half a page
dto scroll down half a page
gto scroll all the way up
Gto scroll all the way down
backspaceto go back in history (thanks a lot to Google by the way for generously removing that for us!)
Shift + backspaceto go forward in history (yeah it's a little weird I know, but it makes sense maybe?)
- NO SMOOTH SCROLLING IT'S THE DEVIL
Keyboard tab navigation
nto switch to the next tab
pto switch to the previous tab
qto close the current tab
fto bring up hints (keyboard shortcuts for all visible links on a page)
- all other
kbwarriorshortcuts will be disabled for as long as hinting is on
- type a hint to navigate instantly to the hinted link
- hold shift to open the link in a new tab
CTRL+[again to cancel and remove the hints
ito bring up insert hints (keyboard shortcuts for all visible text inputs and textareas)
- same as above but just for inserts
Get it from the webstore
You will have to reload any tab you want to use/test
git clone https://github.com/greg-js/kbwarrior
Then go to
chrome://extensions/ in chrome/chromium, enable
Developer mode, click on
Load unpacked extension and point it to wherever you cloned the repo.
Feel free to file issues or submit pull requests.
I've made sure none of these shortcuts will trigger when you're typing in an input field or anything, but there are some websites that provide their own keyboard shortcuts (GitHub and Twitter for example).
Those site-defined shortcuts will interfere with the ones provided by this extension. I wasn't sure how to deal with this, so I've elected to simply disable the extension on sites that make heavy use of such shortcuts. The current list where
kbwarrior is disabled is:
I will probably update this list as I go along. Feel free to make a PR or open an issue if there are other sites this really doesn't work on.