Skip to content
URL Rewriter

URL Rewriter

by John Ahlgren
3.0
2 reviews
171
users
Published
December 30, 2022

Screenshots

URL Rewriter screenshot 1

Description

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.
Add to Chrome

Quick Info

Version
2.1
Size
11.3KiB
Price
Free
Type
Extension

Languages

English (United States)