URL Rewriter

Rewrite URLs using custom rules.

什麼是URL Rewriter?

URL Rewriter是由John Ahlgren開發的Chrome擴展程式,該擴展的主要功能是“Rewrite URLs using custom rules.”。

擴展截圖

screenshot

下載URL Rewriter擴展crx文件

下載URL Rewriter擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        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 URL Rewriter
ID khncccgpokiedblbaahpfchghohlahje
官方網址 https://chromewebstore.google.com/detail/url-rewriter/khncccgpokiedblbaahpfchghohlahje
簡介 Rewrite URLs using custom rules.
檔案大小 11.3 KB
安裝次數 79
目前版本 2.1
更新時間 2022-12-30
上架時間 2022-04-19
評分 1.00/5 共 1 次評分
開發者 John Ahlgren
電子郵箱 [email protected]
付費類型 free
支援的語言 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"
}