brookhong / Surfingkeys

Map your keys for web surfing, expand your browser with javascript and keyboard.
https://chrome.google.com/webstore/detail/surfingkeys/gfbliohnnapiefjpjlpjnehglfpaknnc
MIT License
5.38k stars 478 forks source link

'Q' option setting is need to changed for langauge users. #758

Closed mindgitrwx closed 6 years ago

mindgitrwx commented 6 years ago

mapkey('Q', '#8Open omnibar for word translation', function() { Front.openOmniquery({ url: "https://api.shanbay.com/bdc/search/?word=", /*

It would be nice if user can change setting of 'Q'. Shanbay is not useful to non-chinese people.

I've tried to change dictionary to google translator, but failed. I used this way. https://gist.githubusercontent.com/958/9f4d93e8308920478159566008c56f8b/raw/c06698bbc057290feaea27096a4a9bce0630e69e/SurfingkeysSetting.js

If this Q function is chinese specific function, please document this fact. Or not, tell me how to change the dictionary of Q function.

Thanks.

brookhong commented 6 years ago

Please see https://github.com/brookhong/Surfingkeys/wiki/Register-inline-query.