no-emoji
no-emoji copied to clipboard
Support for title tag
Really nice extension! I wonder if it's possible to filter out emoji from the web page's title
too. So more of a feature request/enhancement.
Example URL: https://www.omgubuntu.co.uk/2022/05/firefox-100-available-to-download
For now I use the below greasemonkey user.js script to do this but it would be nice to have it integrated into no-emoji.
// ==UserScript==
// @name Title :: NoEmoji
// @description Remove emoji from page title.
// @include *
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
const reg = /\p{Emoji_Presentation}/ug;
var title_str = document.title;
var res = title_str.replace(reg, "");
document.title = res;
})();