Back to Extensions

RTL toggle
4.9(10)
9,000 users
Preview
1 / 3
About this extension
Extension
Developer Tools
rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.\n\nWhen 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 <html> 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 <html> tag to one of the two values 'rtl'/'ltr'.
SUPPORT
If you enjoy my work and want to support what I do, feel free to buy me a coffee! Every cup fuels my passion for crafting seamless web experiences and exploring new musical frontiers. āšµ
š Buy Me a Coffee at https://buymeacoffee.com/arismag
Badges
Recommended
Highly recommended extensionDeveloper
U
Unknown Developer
Extension Info
Version
1.0.1
Updated
February 12, 2025
Size
8.65KiB
Languages
English
Users
9,000
Developer
U
Unknown Developer
Badges
Recommended
Highly recommended extensionExtension Info
Version
1.0.1
Updated
February 12, 2025
Size
8.65KiB
Languages
English
Users
9,000