A modern, lightweight, and powerful browser extension to detect and toggle the page layout direction between RTL (Right-to-Left) and LTR (Left-to-Right) on any website.
Compatible with all major browsers: Chrome, Brave, Edge, Opera (Chromium-based) and Mozilla Firefox.
- Easy Toggling: Switch document layout direction between RTL and LTR with a single click.
- Smart Detection: Automatically detects the current page direction.
- Visual Feedback: Displays status badge on the extension icon.
- Clean Code: Lightweight and fast extension with zero performance impact.
├── chromium/ # Extension build directory for Chrome, Brave, Edge, etc.
│ ├── images/ # Extension icons
│ ├── background.js # Service worker handling runtime actions
│ ├── manifest.json # Chromium Manifest V3 configuration
│ ├── rtl-init-check.js # Page script to initialize layout check
│ └── rtl-toggle.js # Content script to toggle document direction
│
├── firefox/ # Extension build directory for Mozilla Firefox
│ ├── images/ # Extension icons
│ ├── background.js # Event page handling runtime actions
│ ├── manifest.json # Firefox Manifest V3 configuration (with Gecko ID)
│ ├── rtl-init-check.js # Page script to initialize layout check
│ └── rtl-toggle.js # Content script to toggle document direction
│
└── .gitignore # Prevents tracking of OS metadata, IDE configurations, etc.
-
Open your Chromium-based browser and navigate to:
- Google Chrome / Brave / Opera:
chrome://extensions/ - Microsoft Edge:
edge://extensions/
- Google Chrome / Brave / Opera:
-
Enable Developer mode.
-
Click Load unpacked.
-
Select the following directory:
chromium/
├── images/
├── background.js
├── manifest.json
├── rtl-init-check.js
└── rtl-toggle.js
- The extension will be installed and is now ready to use.
- Open Mozilla Firefox and navigate to
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on....
- Select the following file:
firefox/
└── manifest.json
- The extension is now loaded as a temporary add-on.
- Local Processing: All actions and direction toggles are executed locally in your browser. No data is collected or sent to external servers.
- Minimal Permissions: The extension only uses
activeTabandscriptingpermissions to apply direction changes securely on the active tab when clicked.
Warning
There is always a possibility of error, so we assume no responsibility for any inaccuracies.
Thank you for engaging with us. For inquiries or collaboration, please contact:
hamzabellouchcontact@gmail.com
Stay connected and follow us on:
Facebook | Instagram | Twitter | Telegram | LinkedIn
