This is the userscript version of https://github.com/chpmrc/zero-width-chrome-extension It should work in tampermonkey on chrome and firefox. Greasemonkey should work as well, but is not tested.
I built this purely for fun, inspired by this article.
You can install it as an "unpacked" extension or from the Chrome Web Store.
Here's a short GIF of how it works: