Rewrite omnibox strings into desired URLs.
Configure the rewrite rules you'd like in the extention options. Rules are of the form:
regex_with_capturing_groups --> some_url_with_%s1_and_%s2
Where %s1 and %s2 are the first and second capture groups, respectively.
For example, the following rules may be useful:
# Fallback: grab first URL and use it
.*(https?://[^\s]+).* --> %s1
.*(www\.[^\s]+).* --> %s1
.*(www\d+\.[^\s]+).* --> %s1
(.*) --> https://www.google.com/search?q=%s1
The first identifies a url starting with http and will go to that url.
The second identifies urls with www.
The third identifies urls such as www2, www3, etc
The fourth rule falls back on a google search for the entire string.
谷歌浏览器、其他Chromium内核的浏览器
为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效