URL Rewriter

Rewrite URLs using custom rules.

What is URL Rewriter?

URL Rewriter is a Chrome extension developed by John Ahlgren, and its main feature is "Rewrite URLs using custom rules.".

Extension Screenshots

screenshot

Download URL Rewriter Extension CRX File

Download URL Rewriter extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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.                    

Extension Basic Information

Name URL Rewriter URL Rewriter
ID khncccgpokiedblbaahpfchghohlahje
Official URL https://chromewebstore.google.com/detail/url-rewriter/khncccgpokiedblbaahpfchghohlahje
Description Rewrite URLs using custom rules.
File Size 11.3 KB
Installation Count 79
Current Version 2.1
Last Updated 2022-12-30
Publish Date 2022-04-19
Rating 1.00/5 Total 1 Ratings
Developer John Ahlgren
Email [email protected]
Payment Type free
Supported Languages en-US
manifest.json
{
    "background": {
        "service_worker": "background.js"
    },
    "description": "Rewrite URLs using custom rules.",
    "host_permissions": [
        "*:\/\/*\/*"
    ],
    "icons": {
        "128": "icons8-Edit-128.png",
        "16": "icons8-Edit-16.png",
        "48": "icons8-Edit-48.png"
    },
    "manifest_version": 3,
    "name": "URL Rewriter",
    "omnibox": {
        "keyword": "j"
    },
    "options_page": "options.html",
    "permissions": [
        "storage",
        "activeTab"
    ],
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "version": "2.1"
}