/chrome-highlight-extension-fork

Chrome extension for highlighting multiple words in multiple groups

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Features

  1. support multiple user defined groups
  2. support multiple words inside a group
  3. support highlighting contents across mulitple HTML tag, i.e. <span>exam<b>ple</b></span>

TODO

  1. calculate a contrast color for the highlighted text

Demo

highlighted demo

Reference:

Icon:

Bug:

  • There may be change in DOM structure if the keyword spans across multi HTML tag.
  • When page init, no content in body. Currently, hard-coded a delay, may investigate using MutationObserver() to solve it.