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
官方URL 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"
    }
}