应用截图

RTL toggle截图1
RTL toggle截图2
RTL toggle截图3

详细介绍

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

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

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