RTL toggle
rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.
什麼是RTL toggle?
RTL toggle是由aris.magrin開發的Chrome擴展程式,該擴展的主要功能是“rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site.”。
擴展截圖
下載RTL toggle擴展crx文件
下載RTL toggle擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。
擴展使用說明
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'.
擴展基本資訊
名稱 | RTL toggle |
ID | diimdfmlegodnjbcgajllidffehegdbc |
官方網址 | https://chromewebstore.google.com/detail/rtl-toggle/diimdfmlegodnjbcgajllidffehegdbc |
簡介 | rtl-toggle detects and toggles the language direction ('rtl'/'ltr') of a site. |
檔案大小 | 8.65 KB |
安裝次數 | 1,832 |
目前版本 | 1.0.1 |
更新時間 | 2022-06-21 |
上架時間 | 2022-06-13 |
評分 | 4.57/5 共 14 次評分 |
開發者 | aris.magrin |
電子郵箱 | [email protected] |
付費類型 | free |
擴展官網 | https://github.com/arismag/rtl-toggle |
說明頁面URL | https://github.com/arismag/rtl-toggle |
支援的語言 | 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" } } |