RTL toggle

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

Vad är RTL toggle?

RTL toggle är en Chrome-tillägg utvecklad av aris.magrin, och dess huvudfunktion är "rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.".

Tilläggsskärmbilder

screenshot
screenshot
screenshot

Ladda ner RTL toggle-förlängningens CRX-fil

Ladda ner RTL toggle-filändelser i crx-format, installera Chrome-tillägg manuellt i webbläsaren eller dela crx-filerna med vänner för att enkelt installera Chrome-tillägg.

Användarmanual för Tillägg

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

Grundläggande Information om Tillägg

Namn RTL toggle RTL toggle
ID diimdfmlegodnjbcgajllidffehegdbc
Officiell webbadress https://chromewebstore.google.com/detail/rtl-toggle/diimdfmlegodnjbcgajllidffehegdbc
Beskrivning rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.
Filstorlek 8.65 KB
Antal Installationer 1,832
Aktuell Version 1.0.1
Senast Uppdaterad 2022-06-21
Publiceringsdatum 2022-06-13
Betyg 4.57/5 Totalt 14 Betyg
Utvecklare aris.magrin
E-post [email protected]
Betalningssätt free
Tilläggswebbplats https://github.com/arismag/rtl-toggle
Hjälpsida URL https://github.com/arismag/rtl-toggle
Stödda Språk 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"
    }
}