URL Rewriter icon

URL Rewriter

by John Ahlgren

v2.1 Updated Dec 30, 2022 11.3KiB
CWS
292
Users
★ 3.00
2 reviews
#8942
of 51.4K
workflow
#1895 of 6.4K
⚠️Not updated in over 2 years

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.
URL Rewriter screenshot 1

Reviews

Loading reviews...

Permissions (2)

Permissions

activeTab Can access the current tab when you click the extension storage Can store data locally in your browser

Details

Version 2.1
Updated Dec 30, 2022
Size 11.3KiB
First Seen Mar 21, 2026