RTL toggle

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

Qu'est-ce que RTL toggle ?

RTL toggle est une extension Chrome développée par aris.magrin, et sa fonction principale est "rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.".

Captures d'Écran de l'Extension

screenshot
screenshot
screenshot

Télécharger le fichier CRX de l'extension RTL toggle

Téléchargez les fichiers d'extension RTL toggle au format crx, installez manuellement les extensions Chrome dans le navigateur ou partagez les fichiers crx avec des amis pour installer facilement les extensions Chrome.

Instructions d'Utilisation de l'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'.                    

Informations de Base sur l'Extension

Nom RTL toggle RTL toggle
ID diimdfmlegodnjbcgajllidffehegdbc
URL Officiel https://chromewebstore.google.com/detail/rtl-toggle/diimdfmlegodnjbcgajllidffehegdbc
Description rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.
Taille du Fichier 8.65 KB
Nombre d'Installations 1,832
Version Actuelle 1.0.1
Dernière Mise à Jour 2022-06-21
Date de Publication 2022-06-13
Évaluation 4.57/5 Total 14 Évaluations
Développeur aris.magrin
Email [email protected]
Type de Paiement free
Site Web de l'Extension https://github.com/arismag/rtl-toggle
URL de la Page d'Aide https://github.com/arismag/rtl-toggle
Langues Prises en Charge en
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"
    }
}