Text Rewriter

Replace specified phrases on a page

What is Text Rewriter?

Text Rewriter is a Chrome extension developed by pelmers, and its main feature is "Replace specified phrases on a page".

Extension Screenshots

screenshot
screenshot
screenshot

Download Text Rewriter Extension CRX File

Download Text 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

                        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).                    

Extension Basic Information

Name Text Rewriter Text Rewriter
ID abmchgifbehnkekmmfmkkgdbhcphmeoi
Official URL https://chromewebstore.google.com/detail/text-rewriter/abmchgifbehnkekmmfmkkgdbhcphmeoi
Description Replace specified phrases on a page
File Size 23.74 KB
Installation Count 917
Current Version 2.0.1
Last Updated 2024-01-14
Publish Date 2018-08-15
Rating 4.27/5 Total 11 Ratings
Developer pelmers
Email [email protected]
Payment Type free
Extension Website https://github.com/pelmers/text-rewriter
Help Page URL https://github.com/pelmers/text-rewriter/issues
Supported Languages 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"
    }
}