跳到主要内容
Web Page Fixer: RTL/LTR

Web Page Fixer: RTL/LTR EN

DSO · Firefox

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).

80用户 v1.2.1当前版本
权限提示 该扩展申请访问所有网站(<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。

简介

🌐 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.

Web Page Fixer: RTL/LTR 是做什么的

Web Page Fixer: RTL/LTR 是一款面向 Firefox 的资讯订阅类扩展,主要用来订阅 RSS、聚合新闻、跟踪博客更新。官方对它的介绍是: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).在Firefox 附加组件商店(AMO)上,它当前版本 1.2.1,约 80 名用户。

适合什么人用

从功能定位看,Web Page Fixer: RTL/LTR 更适合想摆脱算法推荐、自己掌控信息源的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。

怎么安装 Web Page Fixer: RTL/LTR

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

Web Page Fixer: RTL/LTR 是免费的吗?

Web Page Fixer: RTL/LTR 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

Web Page Fixer: RTL/LTR 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

Web Page Fixer: RTL/LTR 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 Web Page Fixer: RTL/LTR?

在扩展管理页找到 Web Page Fixer: RTL/LTR,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

站点访问 1

  • <all_urls>

接口权限 1

  • storage