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.28k stars 476 forks source link

Multiple keywords on the omnibar #1033

Open Dark-Magician opened 5 years ago

Dark-Magician commented 5 years ago

Does Surfingkeys support multiple keyboards on the omnibar?

For example, if I type g,dk {text to search}, where g is Google and dk is DuckDuckGo, Surfingkeys would search Google in the active tab and DuckDuckGo in a new background tab.

Is such behavior possible?

linsong commented 4 years ago

I believe this is possible, but you might need to write some javascript codes in config file to launch google and duckduckgo to search selected keyword, and then map a shortcut to invoke your javascript codes.

sorry, I don't have time to give you an example here, just a hint.