Skip to content

horihiro/TextBlurrer-ChromeExtension

Repository files navigation

Chrome Extension for blurring text

Chrome Web Store Version Chrome Web Store Last Updated Chrome Web Store Stars Chrome Web Store Users

This extension can blur specified text/keywords in web pages.

Demo

Keyword matching

text-blurrer-extension-demo-keyword-1080.mp4

Regular Expression matching

text-blurrer-extension-demo-regexp-1080.mp4

RegExp Validation

text-blurrer-extension-demo-regexp-validation.mp4

Show value on mouseover (v0.1.3 or later)

text-blurrer-extension-demo-showvalueonmouseover.mp4

Blur value in input tag (experimental, v0.1.3 or later)

text-blurrer-extension-demo-blurinputvalue.mp4

Exclusion URL list (v0.2.0 or later)

If you want NOT to blur keywords in specific sites/frames, you can specify URLs of the site in the Exclusion URL patterns tab.

image

You can add URLs on the current tab to the list by clicking + Add URLs in the current tab on the popup.

Context menu for adding keyword (v0.2.0 or later)

Simple way to add the blurry keyword.

image

Shortcut keys on popup (v0.2.0 or later)

  • Ctrl / + s: applying keywords/url patterns change (i.e. pressing Apply button)
  • Shift + Alt + f: removing empty lines in active textarea

Mask value in title (experimental, v0.1.9 or later)

Recording.mp4

Try this

This extension can be installed from Chrome Web Store.

If you can try a development version, the following steps are needed.

  1. get contents of this repository
    1. clone this repository
      or
    2. download zip file and extract it
  2. open chrome://extensions
  3. enable Developer mode and click Load Unpacked
    1. Google Chrome
      image
    2. Microsoft Edge
      image
  4. select the directory created by cloning at step 1.

Limitations

  • These are experimental features

    • Input Element blurring
    • Tab title masking
  • The following HTML elements are not supported:

    • HTML Canvas
    • TextArea
  • Web Terminal based on Xterm.js:
    see here

  • Web Editor based on CodeMirror:
    CodeMirror, which bases GitHub code editor, repairs its own contents automatically after blurring by this extension. Then blurring and repairing are repeated, it causes infinity loop. (#62)

    [!NOTE] Not limited to CodeMirror, it's possible that an infinity loop and a site freezing happen caused by repeat of blurring and DOM tree keeping when the extension tries to blur text on a site composited by frameworks or components which try to keep DOM tree. As long as I investigate, lexical is also such a component.

Dependencies

  • jsdiff: A JavaScript text differencing implementation (BSD 3-Clause License).

Change logs

See CHANGELOG.md.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published