Smart RTL — راستنویس هوشمند av 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.
6 brukarar6 brukarar
Metadata for utvidingar
Om denne utvidinga
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.
Vurdert 0 av 0 meldarar
Løyve og data
Påkravde løyve:
- Tilgang tiil dataa dine frå alle nettsider
Datainnsamling:
- Utviklaren seier at denne utvidinga ikkje krev datainnsamling.
Meir informasjon
- Lenker for tillegg
- Versjon
- 1.0.4
- Storleik
- 34,12 KB
- Sist oppdatert
- 24 dagar sidan (28. juni 2026)
- Liknande kategoriar
- Lisens
- MIT-lisens
- Versjonshistorikk
- Legg til i samling