MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / isEmoji

Function isEmoji

scripts/fb_moreReactionStory.js:201–205  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

199 }
200 // https://stackoverflow.com/a/67705964/23648002
201 function isEmoji(text) {
202 return text?.match(
203 /^(\u00a9|\u00ae|[\u25a0-\u27bf]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])+$/
204 );
205 }
206 },
207
208 onDocumentIdle: async () => {

Callers 1

loadModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected