javascript - Custom google search shortcuts for link navigation -


i changed duckduckgo google search. , 1 feature miss lot j , k navigation keys. first using chrome extension:

https://chrome.google.com/webstore/detail/jk-shortcuts-navigator/chgfodomgimhbcmlfljhkgildehakgif?hl=en

but decided few months ago switch keyboard layout bépo ergonomic layout (dvorak adapted french typing). j , k position replaced t , s. , of course, chrome extension above not allow change shortcuts.

so had idea creating own extension allow use custom shortcuts up/down navigation in google results.

i thinking finding function google calls in javascript when user types "up" or "down" , add custom script calling same function when custom shortcut hit. code minified, hard find out (even knowing "up" , "down" keycodes or using chrome developer tools "event listener breakpoints" in script panel).

secondly noticed little arrow next selected search item in google search. span located after div result. moving span manually not change selected link can't hit enter navigate it.

do have idea of how can ? google handling pretty scroll support , on. why wanted use functions…

but maybe complicated , better develop own custom extension ?

thank lot

that extension found open source. can find here: https://github.com/flavio87/jk-navigator

you can change j , k modifying source , following manual installation instructions. line want change here: https://github.com/flavio87/jk-navigator/blob/master/jk-shortcuts-navigator/script.js#l151


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -