Smart RTL — راستنویس هوشمند par hadi
Auto-aligns Persian, Arabic, Hebrew, Urdu and other RTL text to the right, and English/LTR to the left — without breaking code blocks or centered text. Per-site on/off control. No data collected.
Métadonnées de l’extension
À propos de cette extension
Smart RTL automatically fixes mixed-direction web pages.
It detects the direction of each text block from its first strong directional character (the Unicode bidi rule):
• Persian, Arabic, Hebrew, Urdu and other RTL lines → right-aligned (RTL)
• English and other LTR lines → left-aligned (LTR)
Why it’s smart:
• Code blocks (pre, code, Prism/highlight.js, CodeMirror/Monaco editors) always stay LTR — even if a line starts with a Persian or Arabic
comment.
• Centered and justified text is preserved (detected via computed style), so layouts never break.
• Works on dynamic pages and SPAs via an efficient, debounced observer.
Site control:
• On by default everywhere, with an exception list — or switch to allow-list mode (only sites you add).
• Toggle the current site or the whole add-on from the popup. Changes apply instantly, no reload.
Privacy: no data is collected or transmitted; all settings stay on your device.
It detects the direction of each text block from its first strong directional character (the Unicode bidi rule):
• Persian, Arabic, Hebrew, Urdu and other RTL lines → right-aligned (RTL)
• English and other LTR lines → left-aligned (LTR)
Why it’s smart:
• Code blocks (pre, code, Prism/highlight.js, CodeMirror/Monaco editors) always stay LTR — even if a line starts with a Persian or Arabic
comment.
• Centered and justified text is preserved (detected via computed style), so layouts never break.
• Works on dynamic pages and SPAs via an efficient, debounced observer.
Site control:
• On by default everywhere, with an exception list — or switch to allow-list mode (only sites you add).
• Toggle the current site or the whole add-on from the popup. Changes apply instantly, no reload.
Privacy: no data is collected or transmitted; all settings stay on your device.
Noté 0 par 1 personne
Autorisations et données
Autorisations nécessaires :
- Accéder à vos données pour tous les sites web
Collecte de données :
- Le développeur indique que cette extension n’a pas besoin de collecter de données.
Plus d’informations
- Liens du module
- Version
- 1.0.4
- Taille
- 34,12 Ko
- Dernière mise à jour
- il y a 14 jours (28 juin 2026)
- Catégories associées
- Licence
- Licence MIT
- Historique des versions
- Ajouter à la collection