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.41k stars 482 forks source link

Is it possible to hide specific options in the Omnibar without disabling them directly? #2117

Open XMahoniX opened 6 months ago

XMahoniX commented 6 months ago

If the alias in options displays Chinese, an error will be reported, but search engines can use Chinese, so I wonder if I can hide this option in options without disabling it QQ截图20240518173919

Below is my code api.addSearchAlias('百度', '百度搜索', 'https://www.baidu.com/s?wd=');

Since I am new to this, if there is any other way to achieve it, please tell me, thank you.

TassdarZeratul commented 4 months ago

api.addSearchAlias('bd', '百度搜索', 'https://www.baidu.com/s?wd=');