Skip to content

Multiple observers, manual control, and fixes galore

Compare
Choose a tag to compare
@danielzting danielzting released this 01 Sep 02:29
· 1 commit to master since this release

A ton of improvements have been made since the first release, enough that I've given this a new major version number.

The headline features are support for multiple TextObserver instances and manual disconnect() and reconnect() methods. TextObserver now covers a much wider range of cases, including:

  • Special HTML attributes that get rendered as text (placeholder for <input>, alt text, etc.)
  • CSS content property
  • Shadow DOMs

In addition, mitigations have been applied so that pages are now much less likely to slow down or crash on "recursive" replacements, like "expands" to "physically expands."