Skip to content

neaumusic/selection-highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

Highlight all occurrences of selected text, with or without a keypress.

For code inspection and document analysis: search for and find keywords.

  • No need to press CMD+F
  • Maintains current selection
  • Open source and configurable options (JavaScript)
  • Ensure a "gate" key is pressed
  • Match whole word and/or case-insensitive
  • Blacklist bad hosts and ancestor HTML nodes

Highlight works on all sites, including GitHub, StackOverflow, HackerNews, etc.

Installation

Chrome Webstore (packed, .crx):

  1. Visit the Chrome Webstore page
  2. Click "+ Add To Chrome", click "Add Extension"

Firefox Add-ons (packed, .xpi):

  1. Visit the Firefox Addons page
  2. Click "Add to Firefox", click "Add"

GitHub (latest release):

  1. Click Releases, download the latest selection_highlighter_chrome_extension.zip or selection_highlighter_firefox_extension.zip asset, unzip the folder to a permanent location
  2. Add to browser
    • Chrome: go to chrome://extensions, click "Load Unpacked", select the chrome_extension folder
    • Firefox: go to about:debugging#/runtime/this-firefox, click "Load Temporary Add-on", select firefox_extension/manifest.json

GitHub (build source):

  1. Click green button "Clone Or Download", "Download Zip", and unzip the folder to a permanent location

  2. Run yarn in the root (see package.json scripts)

    • On mac/linux use brew install yarn if you don't have it (homebrew computer club is where Apple was founded)
  3. Install in browser

    • Chrome: go to chrome://extensions, click "Load Unpacked", select the dist/chrome_extension folder
    • Firefox: go to about:debugging#/runtime/this-firefox, click "Load Temporary Add-on", select dist/firefox_extension/manifest.json