Doplňky do prohlížeče Firefox
  • Rozšíření
  • Motivy vzhledu
    • pro Firefox
    • Slovníky a jazykové balíčky
    • Ostatní stránky prohlížeče
    • Doplňky pro Android
Přihlásit se
Náhled Parsi RTL

Parsi RTL od Amir SHIRALI POUR

Correct text direction and Persian font for RTL languages on any site — script-ratio detection, not first-strong guessing.

Dostupné pro Firefox pro Android™Dostupné pro Firefox pro Android™
0 (0 recenzí)0 (0 recenzí)
Stáhnout Firefox a nainstalovat toto rozšíření
Stáhnout soubor
Naskenujte QR kód a otevřete toto rozšíření ve Firefoxu pro Android

Metadata rozšíření

O tomto rozšíření
Right-aligned is not right-to-left.

The usual fix for RTL text on the web is unicode-bidi: plaintext, which applies
the Unicode first-strong rule: a paragraph takes its direction from its first
strongly-directional character. That is wrong for the most common Persian
sentence shape — one that opens with an English technical term:

Gemini web app رو Google سرو میکند (تو نمیتونی local app رو modify کنی)


First-strong sees the "G", lays the entire line out left-to-right, and the
trailing parenthesis and clause order visually scramble. You end up reading a
Persian sentence from the wrong end.

Parsi RTL decides the direction of every block by SCRIPT RATIO instead: a
Persian sentence carrying English terms stays right-to-left, an English sentence
with one Persian word stays left-to-right. The decision is written onto the
element as a real dir attribute, so caret movement, text selection and
punctuation mirroring follow it too — things a CSS-only fix cannot reach.

WHAT IT DOES

• Every RTL script, not just Persian — Arabic, Urdu, Pashto, Kurdish, Sindhi,
Hebrew, Syriac, Thaana, N'Ko, Adlam.
• Works while answers stream in. AI chat replies arrive token by token, so a
one-shot pass on page load fixes nothing; a frame-batched observer keeps up
without the per-token slowdown a naive script causes.
• Your code blocks stay left-to-right — including inline code inside an RTL
sentence, and tables.
• The composer follows what you type: the input's direction updates live.
• Vazirmatn is bundled and applied only to blocks judged RTL, so icon fonts
survive. A checkbox turns the font off while keeping the direction fix.
• Per-site off switch, from the popup or with Alt+R (macOS: Option+R).
• Right-click any block to force its direction by hand; the automatic pass never
overrides your choice.
• The popup reports whether the script is live in the tab and how many blocks it
switched — you can always tell it is working.

PRIVACY

No network requests, no analytics, no account. The font ships inside the
extension instead of being fetched from a CDN. The only stored values are your
per-site off list and the font checkbox, in local storage on your machine.

Open source: https://github.com/su6i/parsi-rtl
Hodnocení: 0 od 0 redaktorů
Pro hodnocení tohoto rozšíření se přihlaste
Zatím nehodnoceno

Hodnocení bylo uloženo

5
0
4
0
3
0
2
0
1
0
Zatím žádné recenze
Oprávnění a data

Požadovaná oprávnění:

  • Přistupovat k vašim datům pro všechny webové stránky

Sběr dat:

  • Podle vývojáře toto rozšíření nevyžaduje sběr dat.
Zjistit více
Další informace
Odkazy doplňku
  • Domovská stránka
  • Stránky podpory
  • Zkopírovat ID doplňku
Verze
1.0.0
Velikost
138,8 KB
Poslední aktualizace
před 4 dny (18. srp 2026)
Příbuzné kategorie
  • Vzhled
  • Podpora jazyků
Licence
Licence MIT
Zásady ochrany osobních údajů
Přečtěte si zásady ochrany osobních údajů pro tento doplněk
Historie změn
  • Zobrazit všechny verze
Přidat do sbírky
Nahlásit tento doplněk
Přejít na domovskou stránku Mozilly

Počet doplňků

  • O nás
  • Blog doplňků pro Firefox
  • Workshop tvorby rozšíření
  • Pro vývojáře
  • Pravidla pro vývojáře
  • Blog komunity
  • Fórum
  • Nahlásit chybu
  • Příručka recenzenta

Na stažení

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Nejnovější sestavení

  • Nightly
  • Beta

Firefox pro firmy

  • Enterprise

Komunita

  • Connect
  • Contribute
  • Developer

Sledujte nás

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Ochrana soukromí
  • Cookies
  • Právní informace

Není-li uvedeno jinak, obsah této stránky je šířen pod licencí Creative Commons Uveďte původ-Zachovejte licenci 3.0 nebo jakoukoli novější verzí. Android je ochranná známka společnosti Google LLC.