Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norlandz/texthighlighter
Find & Highlight Words in a Webpage (Google Chrome Extension)
https://github.com/norlandz/texthighlighter
dom find google-chrome-extension highlight javascript match regex
Last synced: 24 days ago
JSON representation
Find & Highlight Words in a Webpage (Google Chrome Extension)
- Host: GitHub
- URL: https://github.com/norlandz/texthighlighter
- Owner: Norlandz
- Created: 2023-05-28T16:35:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-26T15:11:12.000Z (over 1 year ago)
- Last Synced: 2024-12-12T02:44:38.603Z (24 days ago)
- Topics: dom, find, google-chrome-extension, highlight, javascript, match, regex
- Language: JavaScript
- Homepage:
- Size: 678 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
TextHighlighter_Cev
-
intro m
-
find & highlight the words
-
-
demo (graph)
-
working environment
- as a Google Chrome Extension
-
prior statement
- this project is experimental
- this project is experimental
-
to_use
- click icon || @hotkey[!g] -> activate extension (auto focus)
- click Run Highlight || @hotkey[!k] -> find & highlight the words
- right click icon > option page -> set default options
- click on the highlight position marker -> scroll to the found word
-
scroll on the regex word stat table -> scroll to next/prev found word
-
flaw
- it may not find all words, due to overlapping
- it may find words that are hidden
- try not to search on
body / div
-- its laggy & potential buggy - _ the order of matched words _ is messy -- because the way selector works (maybe)
- I know the On/Off has some issues, could have fixed it in code related to `tabId: tab.id,` / `tabs[0]`, too lazy to do so...
-
installation
- download the released
.crx
file - unzip it
- load it as an unpacked extension in Google Chrome Extension Page (under development mode)
- (This is not in Google Chrome Extension Store -- I was unable to do so (or, currently))
- download the released