neaumusic / selection-highlighter

browser highlighter for code analysis
BSD 3-Clause "New" or "Revised" License
82 stars 15 forks source link

Summary

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

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

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)

    • I recommend volta to install yarn, if not brew
  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