Rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.

Latest Version

Version
1.0.1
Update
June 21, 2022
Size
8.65KiB
Developer
Category
Users
3,000+
Rating
4.66667 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Scripting
See more

RTL toggle Extension

When you are developing for websites and applications that support languages that are written from right to left it's really helpful to visualize and toggle the language direction in the browser independently from the actual language that is being used.

HOW IT WORKS

The extensions does two things: Detects and toggles the direction of the website's language.

Detection:
When a new tab is loaded a script is checking the dir attribute of the tag element. If the attribute is set to 'rtl', the extension's badge text is also set to \"RTL\" indicating that the current website uses a language that is written from right to left.

Toggling:
When the user clicks the extension's icon, a script toggles (or adds it if not set) the value of dir attribute of the tag to one of the two values 'rtl'/'ltr'.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "RTL toggle", "description": "rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.", "version": "1.0.1", "manifest_version": 3, "background": { "service_worker": "background.js" }, "permissions": ["activeTab", "scripting"], "action": { "default_title": "Toggle language direction" }, "content_scripts": [ { "matches": [ "http://*/*", "https://*/*" ], "js": ["rtl-init-check.js"] } ], "icons": { "32": "images/rtl-toggle.png", "48": "images/rtl-toggle.png", "128": "images/rtl-toggle.png" }}
Read more

Similar Extensions

icon

RTL ALL Extension · Accessibility 3,000+ 14 ★ 6.99KiB

icon

ChatGPT RTL (Persian/Farsi): ChatGPT,Claude,Copilot,TheBAi Extension · Accessibility 3,000+ 99 ★ 1.45MiB

icon

Medium RTL Extension · Accessibility 3,000+ 0 ★ 35.46KiB

icon

Lrtrl Extension · Accessibility 3,000+ 2 ★ 6.71KiB

icon

RtL Fixer Extension · Productivity 3,000+ 53 ★ 388KiB

icon

fix RTL translate Extension · Productivity 3,000+ 12 ★ 8.6KiB

icon

Right-to-left enforcer for Contentful editor Extension · Accessibility 3,000+ 0 ★ 23.84KiB

icon

LTR-RTL Extension · Accessibility 3,000+ 29 ★ 4.09KiB

icon

Workflowy - RTL converter Extension · Productivity 3,000+ 2 ★ 4.97KiB

icon

RTL Text Director Extension · Accessibility 3,000+ 9 ★ 23.39KiB

icon

DirX - RTL LTR Extension · Productivity 3,000+ 11 ★ 67.45KiB

icon

Language Direction Extension · Developer Tools 3,000+ 0 ★ 26.35KiB

icon

Sirius RTL Extension · Productivity 3,000+ 1 ★ 224KiB

icon

Rtl fix Extension · Accessibility 3,000+ 0 ★ 45.08KiB

icon

Auto RTL Extension · Productivity 3,000+ 12 ★ 8.06KiB

icon

ChatGPT RTL Extension · Productivity 3,000+ 18 ★ 68.25KiB

icon

LTR TO RTL for ChatGPT Extension · Productivity 3,000+ 8 ★ 28.31KiB

icon

WriteRight Extension · Productivity 3,000+ 10 ★ 17.95KiB

icon

ChatGPT RTL Support Extension · Social & Communication 3,000+ 10 ★ 11.63KiB

icon

Slack Persian Extension · Productivity 3,000+ 7 ★ 15.63KiB

icon

Dastyar Personal Assistant in your newtab Extension · Productivity 3,000+ 643 ★ 3.37MiB

icon

Alem - ChatGPT RTL Extension Extension · Developer Tools 3,000+ 5 ★ 17.41KiB

icon

JIRA RTL Extension · Productivity 3,000+ 6 ★ 4.99KiB

icon

ChatGPT RTL Support (Farsi/Arabic) Extension · Social & Communication 3,000+ 11 ★ 208KiB

User reviews

icon

More (ID: 000000e3fca7b32c) Voted 4 ★ - Updated 08/19/2023 Good but still need an option to Auto/Always RTL on page refresh/change. Force RTL

icon

Abdellah Ebrahimi (ID: 000000af7b2818fa) Voted 5 ★ - Updated 07/02/2023 Awesome!

icon

Yasser Anaboussi (ID: 000000c07c0e96e4) Voted 5 ★ - Updated 05/20/2023 Really cool, it's useful in many programs

icon

saeed kolahi (ID: 000000b874437ca2) Voted 5 ★ - Updated 05/05/2023 I used several plugins for chatgpt none of them worked like this. Great and simple

icon

Emad Hosny (ID: 000000671141ef63) Voted 5 ★ - Updated 04/05/2023 It's amazing for Chatgpt for Arabic language problems