@haskal hmm emojione? is that included in 'mastodon-font-sans-serif'?
@f0x no like every emoji is replaced with an img tag and i want that to stop because i like my system's default emoji style better
@haskal i have no idea how performant this is tbqh, you're kinda fighting against the mastodon ui but in a way that should mostly work. Every time dom changes it finds emoji's that aren't also custom-emoji, and replaces the img node with it's alt-text (the raw emoji)
code
@haskal in a userscript (or heck, paste it in your console:
let obs = new MutationObserver((change) => {document.querySelectorAll(".emojione:not(.custom-emoji)").forEach((emoji) => {emoji.parentElement.replaceChild(document.createTextNode(emoji.getAttribute("alt")), emoji)})});
obs.observe(document, {childList: true, subtree: true});