This Chrome extension lets you specify arbitrary terms, including regexes.
When your terms match text on a webpage, that text will be highlighted.
A summary of matches will appear in a statusbar at the bottom of the window, and clicking the terms in the statusbar will scroll the page to the place that match appears.
It uses Chrome's sync API for Storage so your options are persistent across all your devices.
Watchlist is available in the usual manner via the Chrome webstore.
This is a ClojureScript jam. You'll want lein.
First, make sure you've run lein dev
or lein prod
, and then in Chrome...
- Wrench thingy > Tools > Extensions.
- Hit "Load unpacked extension..." which you'll only see if you're in developer mode.
- Locate the downloaded git repo and select the new build under
target
. Click OK. - Fiddle with the options.
- Rejoice in a life finally worth living.
lein cljsbuild once test
lein dev
will start watching the source directories for changes, and will automatically place fresh builds into target/unpacked
. Assets in resources/assets
will be copied in once at the beginning but will not be monitored for changes; this mode has the shortest cycle time and is sort of the guerilla-mode option.
lein prod
will place a fresh production build in target/prod
.
lein autotest
will start watching the source and test directories
for changes, automatically re-running the tests with each change.
phantomjs
must be on the PATH
.
There is a set of thumb-in-the-wind performance benchmark scenarios that can be chosen at test runtime via an env var...
PERF=true lein autotest
lein chromebuild auto
will conveniently auto-execute all builds, including test
, and will monitor resource/assets
for changes; it is not fast, is included mainly for novelty and should be replaced with lein auto
or similar if fast-feedback asset development becomes helpful again.
Allow control over regex flags; I want case-insensitive, so that's what you get for now.