Skip to content

Safer URL replacement technique.

Compare
Choose a tag to compare
@antsar antsar released this 21 Nov 15:27
· 1 commit to master since this release

An addons.thunderbird.net reviewer pointed out that innerHTML.replace() is risky, and textContent.replace() would be better. Instead of one big replace on the body contents, we now recursively do replacements on each text node and node attribute.