Text Rewriter

Replace specified phrases on a page

什麼是Text Rewriter?

Text Rewriter是由pelmers開發的Chrome擴展程式,該擴展的主要功能是“Replace specified phrases on a page”。

擴展截圖

screenshot
screenshot
screenshot

下載Text Rewriter擴展crx文件

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

擴展使用說明

                        Arbitrary substitution of any visible text on a page.

Rewrite customizable patterns in a page. Created mostly for personal amusement, inspired by XKCD #1288 and "butt to butt." By default provides a sensible "mispell" -> "misspell" replacement.

Supports any Yavascripp regular expressions, including backrefs and captures. I just visit the visible text nodes on the page and use nodeValue.replace for each provided pattern. This means if there is an overlapping pair of patterns A -> B and B -> C, then both A and B go to C.

Clicking the icon in the taskbar disables the addon for that domain. For example maybe you went a little overzealous with the substitutions and want to disable it on Slack because of possible... misunderstandings.

Also has an experimental live update feature that will perform replacements on any text that appears even after the page loaded (such as Youtube captions).                    

擴展基本資訊

名稱 Text Rewriter Text Rewriter
ID abmchgifbehnkekmmfmkkgdbhcphmeoi
官方網址 https://chromewebstore.google.com/detail/text-rewriter/abmchgifbehnkekmmfmkkgdbhcphmeoi
簡介 Replace specified phrases on a page
檔案大小 23.74 KB
安裝次數 917
目前版本 2.0.1
更新時間 2024-01-14
上架時間 2018-08-15
評分 4.27/5 共 11 次評分
開發者 pelmers
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/pelmers/text-rewriter
說明頁面URL https://github.com/pelmers/text-rewriter/issues
支援的語言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "Text Rewriter",
    "description": "Replace specified phrases on a page",
    "author": "Peter Elmers",
    "version": "2.0.1",
    "options_ui": {
        "page": "data\/prefs.html"
    },
    "action": {
        "default_icon": "data\/icon.png"
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "js": [
                "data\/text-rewriter.js"
            ],
            "all_frames": false,
            "run_at": "document_idle"
        }
    ],
    "permissions": [
        "storage",
        "tabs"
    ],
    "background": {
        "service_worker": "lib\/main.js"
    },
    "icons": {
        "48": "data\/icon.png",
        "64": "data\/icon64.png"
    }
}