crowbartools / MixrElixr

Browser extension that enhances your Mixer viewing experience with custom emotes, new features, and a ton of options.
https://mixrelixr.com
GNU General Public License v3.0
23 stars 7 forks source link

Adjust how emote replacements works to better improve extension compatibility #94

Closed TheUnlocked closed 4 years ago

TheUnlocked commented 4 years ago

Description of the Change

Wraps Text nodes in class-less spans after emote replacement for compatibility.

Benefits

This change allows other extensions to parse chat messages more reliably by allowing the use of the span:not([class]) selector to find replaceable text, which Elixr also uses.

Possible Drawbacks

None.

Applicable Issues

No issues from MixrElixr, but this issue from Better Mixer discusses the issue: https://github.com/TheUnlocked/Better-Mixer/issues/55

Note: Please be aware that we may require changes if we believe they are required to meet the vision and standards of Elixr. Don't take suggestions for tweaks personally, we are all simply trying to make Elixr the best that it can be :)