is there a way to disable emojione on masto and use system emoji

Follow

@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

@f0x also it blows up on some of the new combination emojis, whereas my system would not

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});

@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)

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.