Додатки браузера Firefox
  • Розширення
  • Теми
    • для Firefox
    • Словники та локалізації
Увійти
Перегляд 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 reviews)0 (0 reviews)
14 Users14 Users
Завантажити Firefox та отримати розширення
Завантажити файл
Scan the QR code to open this extension in Firefox for 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
Rated 0 by 0 reviewers
Увійдіть, щоб оцінити це розширення
Ще немає оцінок

Рейтинг збережено

5
0
4
0
3
0
2
0
1
0
Ще немає відгуків
Permissions and data

Необхідні дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів

Data collection:

  • The developer says this extension doesn't require data collection.
Докладніше
Більше інформації
Посилання додатка
  • Домашня сторінка
  • Сайт підтримки
  • Copy add-on ID
Версія
1.0.0
Розмір
138,8 КБ
Востаннє оновлено
2 місяці тому (18 серп 2026 р.)
Пов'язані категорії
  • Налаштування інтерфейсу
  • Підтримка мов та перекладів
Ліцензія
Ліцензія MIT
Політика приватності
Ознайомитись з політикою приватності для цього додатка
Історія версій
  • Переглянути всі версії
Додати до збірки
Повідомити про цей додаток
Перейти на домівку Mozilla

Додатки

  • Про
  • Блог додатків Firefox
  • Семінар з розширень
  • Центр розробника
  • Політики розробників
  • Блог спільноти
  • Форум
  • Повідомити про помилку
  • Настанови з написання відгуків

Download

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

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Приватність
  • Файли cookie
  • Правові положення

Окрім випадків зазначених тут, вміст цього сайту ліцензовано на умовах Creative Commons Attribution Share-Alike License v3.0, або будь-якою новішою версією. Android є торговельною маркою компанії Google LLC.