Додаци за прегледач Firefox
  • Проширења
  • Теме
    • за Firefox
    • Речници и језички пакети
    • Странице других прегледача
    • Додаци за Android
Пријавите се
Преглед Parsi RTL

Parsi RTL од Amir SHIRALI POUR

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

Доступно на Firefox-у за Android™Доступно на Firefox-у за Android™
0 (0 рецензија)0 (0 рецензија)
Преузмите Firefox и добијте додатак
Преузмите датотеку
Скенирајте КР код да бисте отворили ово проширење у Firefox-у за Android

Метаподаци додатка

О овом додатку
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
Оцењено са 0 од стране 0 рецензената
Пријавите се да бисте оценили овај додатак
Још увек нема оцена

Оцена звездицама сачувана

5
0
4
0
3
0
2
0
1
0
Још увек нема рецензија
Овлашћења и подаци

Потребна овлашћења:

  • Приступ подацима за све веб странице

Прикупљање података:

  • Програмер наводи да овом додатку није потребно прикупљање података.
Сазнајте више
Више информација
Везе додатка
  • Почетна страница
  • Страница подршке
  • Копирај ИД додатка
Издање
1.0.0
Величина
138,8 KB
Последњи пут ажурирано
pre 4 dana (18. avg. 2026.)
Повезане категорије
  • Изглед
  • Језичка подршка
Дозвола
MIT дозвола
Политика приватности
Прочитајте политику приватности за овај додатак
Историјат издања
  • Погледајте сва издања
Додај у збирку
Пријави овај додатак
Идите на почетну страницу Mozilla-е

Додаци

  • O програму
  • Блог о додацима за Firefox
  • Радионица за додатке
  • Центар за програмере
  • Политике програмера
  • Блог заједнице
  • Форум
  • Пријавите грешку
  • Водич за оцењивање

Преузмите

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

Најновије градње

  • Nightly
  • Beta

Firefox за предузећа

  • Enterprise

Заједница

  • Connect
  • Contribute
  • Developer

Прати

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Приватност
  • Колачићи
  • Права

Изузев у случајевима где је наведено другачије, садржај на овој страници је лиценциран под Creative Commons Attribution Share-Alike дозволом v3.0 или било којим каснијим издањем. Android је заштићени знак компаније Google LLC.