首页 扩展程序 URL Rewriter

URL Rewriter

提供方: John Ahlgren
1
效率 96 位用户

插件简介

Rewrite URLs using custom rules.
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.

其他信息

ID khncccgpokiedblbaahpfchghohlahje 版本 2.1 上次更新日期 2022年12月30日 大小 11.3KiB 语言 支持1 种语言 开发者

ahlgren+chromestore@gmail.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

URL Rewriter Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效