typefully / minimal-twitter

Minimal Theme for Twitter - Refine and Declutter Your Twitter Web Experience
https://typefully.com/minimal-twitter
MIT License
822 stars 48 forks source link

Hide emoji’s from a user’s profile (and potentially from tweets) #84

Closed ycparak closed 2 years ago

ycparak commented 2 years ago

I love minimal twitter and think it could be even better with the ability to hide emoji’s from a user’s profile (Name, location, bio, etc.) . I think that would significantly improve the look of a user’s profile (especially where emoji’s have been way over used) and go along with the idea of a 'minimal' experience. Use case 2, and this is less important imo, would be to be able to hide emoji’s from tweets themselves.

Fwiw here’s a way to replace an emoji with an empty string: text.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g, '',)