Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Web Page Fixer: RTL/LTR 预览

Web Page Fixer: RTL/LTR 作者: DSO

open source Easily toggle the text direction of any web page between Right-to-Left (RTL) and Left-to-Right (LTR) to fix reading issues (Arabic, Hebrew, Persian,....etc).

实验性实验性
可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
0(0 条评价)0(0 条评价)
13 个用户13 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
🌐 Web Page Fixer: RTL/LTR (Smart RTL for LLMs)

A powerful, privacy-first, zero-lag browser extension designed to fix Right-to-Left (RTL) text formatting (Arabic, Hebrew, Persian) on modern AI streaming platforms like LM Arena, ChatGPT, Claude, and Google AI Studio.

Powered by Manifest V3, this extension effortlessly handles deeply nested React Virtual DOMs, dynamic streaming chunks, and iframe injections without breaking native layouts or draining CPU performance.



✨ Core Features
  • Smart RTL Mode: Dynamically forces dir="auto" specifically on chat bubbles and paragraphs, letting the browser naturally align mixed RTL/LTR text without altering the root <html> direction.
  • Code Block Immunity: 🛡️ Strictly protects <pre> and <code> blocks, ensuring your syntax highlighting and left-to-right code alignments remain perfectly intact.
  • Extreme Performance: Implements a highly optimized 250ms debounced MutationObserver. It waits for React/Gradio to finish rapidly streaming text chunks before safely sweeping the DOM, saving your CPU and battery from infinite render loops.
  • Edge & Safari Iframe Support: Utilizes match_about_blank and localized fallback intervals to ensure the extension reliably docks into deeply nested, about:blank streaming side-by-side iframes (crucial for LM Arena).
  • Zero-Layout Breakage: Aggressively untangles stubborn CSS frameworks (like Tailwind .prose) using nuclear specificity so sidebars, absolute buttons, and flex row margins don't overlap when flipped.



🛡️ Absolute Transparency & Permissions

We believe in 100% open-source transparency. This extension collects ZERO user data, runs no analytics, and connects to NO external servers.

To function seamlessly, the extension requires the following permissions in manifest.json:
- "storage": Used exclusively and locally on your machine to save your toggle preference (RTL/LTR/Smart) per website domain.



💻 Tech Stack
  • JavaScript (Vanilla JS): Zero external libraries. Pure, lightning-fast DOM manipulation.
  • Manifest V3: The latest, most secure standard for browser extensions.
  • CSS3: Nuclear-specificity injection to override rigid framework alignments.



🚀 Installation Guide (Manual Sideloading)

Currently, the extension is awaiting review on the official Chrome Web Store and Firefox Add-ons store. In the meantime, you can easily install it locally!

For Google Chrome, Microsoft Edge, & Brave:
  1. Download this repository as a .zip file and extract it to a folder on your computer.
  2. Open your browser and navigate to the Extensions page (chrome://extensions/ or edge://extensions/).
  3. Enable "Developer mode" (usually a toggle in the top right corner).
  4. Click the "Load unpacked" button.
  5. Select the extracted rtl-ltr-switcher-chromium folder.
  6. The extension is installed! Pin it to your toolbar for easy access.

For Mozilla Firefox:
  1. Download this repository as a .zip file and extract it.
  2. Open Firefox and navigate to about:debugging#/runtime/this-firefox.
  3. Click "Load Temporary Add-on...".
  4. Select the manifest.json file inside the rtl-ltr-switcher-firefox folder.
  5. The extensions is now active and ready to use! (Note: Temporary add-ons in Firefox must be re-loaded if you restart the browser).



🤝 Contributing

Developers are highly encouraged to review the code, suggest optimizations, or submit Pull Requests! Feel free to open an issue if you discover a layout that breaks our DOM parser.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
  • Copy add-on ID
版本
1.2.1
大小
38.2 KB
上次更新
2 个月前 (2026年3月18日)
相关分类
  • 收取点、新闻和博客
  • 外观
  • 语言工具
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。