Blocks all emojis except flags from being displayed on any website (text, images, CSS) — Unicode-aware, reentrancy-guarded
這裡顯示腳本的所有版本。 只顯示彼此間有代碼差異的版本。
fixed some leakthroughs
more crash remediation
fixed crashing on certain websites
was missing some
Fixed: Script failing to load in some browsers/userscript engines due to missing requestIdleCallback — added a safe fallback to setTimeout.
Fixed: MutationObserver now watches document.documentElement instead of just body to survive SPA body replacements.
Fixed: Potential sandbox API issues by adding @inject-into page to metadata.
Improved: Initialization now waits for DOMContentLoaded if document.body is not yet available, ensuring first‑pass emoji stripping always runs.
Note: Regex still uses \p{Extended_Pictographic} — if targeting older JS engines, replace with a compatibility regex to avoid syntax errors.
update to work with twitter (x) ((ew))