Surfingkeys icon indicating copy to clipboard operation
Surfingkeys copied to clipboard

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

Open XMahoniX opened this issue 1 year ago • 1 comments

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.

XMahoniX avatar May 18 '24 09:05 XMahoniX

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

TassdarZeratul avatar Jul 08 '24 14:07 TassdarZeratul

The first parameter alias of the API must be english chars, https://github.com/brookhong/Surfingkeys/blob/master/docs/API.md#addsearchalias, and it is recommended to use single char, as some other shortcuts will be generated by the API such as s<alias> or so<alias>, see https://github.com/brookhong/Surfingkeys/blob/master/README.md#search-selected-with

brookhong avatar Nov 23 '24 04:11 brookhong