Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User option to disable emoji-replacement #647

Closed
1 task done
igalic opened this issue Aug 17, 2018 · 5 comments · Fixed by #1195
Closed
1 task done

User option to disable emoji-replacement #647

igalic opened this issue Aug 17, 2018 · 5 comments · Fixed by #1195

Comments

@igalic
Copy link

igalic commented Aug 17, 2018

By default, mastodon replaces emoji in the with an html img tag, that contains an svg Emojione image. For example:

<img draggable="false" class="emojione" alt="☺️" 
  title=":relaxed:" src="https://static.glitch.social/emoji/263a.svg">

I'd like to make it easier for this feature to be disabled.
Either by admins, upon installing the instance, or perhaps even to expose it as a user-preference choice… this could become part of glitch-soc's "flavours"


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
@ticky
Copy link

ticky commented Aug 17, 2018

I’d vote for a checkbox alongside the “use system font” switch.

p.s. it’s also possible to detect native emoji support in a user’s browser using something like mojibaka (disclosure: it’s my project) so it could be made to be off unless the browser needs replacements.

@igalic
Copy link
Author

igalic commented Aug 9, 2019

I've started toying with this again, to see what I can do from my side without writing any code.

It appears i can Block the URL ||static.glitch.social/emoji/$image in uBlock, if I also disable Hide placeholders of blocked elements (see this reddit post for more info)

And that only breaks the Emoji Picker. So if someone was to really implement this, they'd also have to configure the emoji-mart to use native => true in the case that a user selects system emoji.

@ClearlyClaire
Copy link

Would it be fine as a local app setting (I mean, a setting set from the settings modal specific to the glitch flavour)? This would not apply to public pages

@igalic
Copy link
Author

igalic commented Aug 11, 2019

i believe that's what "User Option" means, exactly.

@ClearlyClaire
Copy link

I asked that because there was a suggestion to put it in the server-side thing

I’d vote for a checkbox alongside the “use system font” switch.

But I'd rather not pass it to the public pages (because there is no readily-system available for that and I don't want to mess with the vanilla parts much more)

ClearlyClaire added a commit that referenced this issue Aug 12, 2019
Fixes #647

The option is found in `/settings` (because that was easier to write it this
way) but only affects the glitch-soc front-end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants