chatGPT for Persians (Professional rtl, Easy shortkeys, Support multi language and for coder users)

Fix rtl text issues for Persian/Farsi language. Press R+RIGHT for full rtl. R+LEFT for rtl align left. and R + DOWN for deactivation.

目前為 2023-11-22 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Nimab
評價
0 0 0
版本
1
建立日期
2023-11-22
更新日期
2023-11-22
尺寸
3.0 KB
授權條款
CC BY-NC-SA 4.0 DEED
腳本執行於

Right-to-Left Text Adjustment Script for Persian/Farsi Language and Other RTL Languages on chatGPT

Description

This userscript is tailored for chatGPT and is designed to enhance the browsing experience for Persian/Farsi language websites and other right-to-left (RTL) languages like Arabic, Urdu, etc. It dynamically adjusts the text alignment and direction of content, ensuring a more readable and user-friendly layout for RTL languages. The script is especially beneficial for chatGPT that do not natively support RTL text alignment or have mixed content.

Features

  • Automatically adjusts text direction to RTL for body content on chatGPT, excluding 'code' tags, to better accommodate Persian/Farsi and other RTL languages like Arabic, Urdu, etc.
  • Keyboard shortcuts for toggling text alignment between left and right within an RTL layout, enhancing readability for RTL languages.
  • Ensures that 'pre' and 'code' tags maintain left-to-right (LTR) direction for better code block readability.
  • Easy-to-use keyboard shortcuts for quick toggling on chatGPT:
    • Press 'R' + Left Arrow to apply RTL with left text alignment for RTL languages.
    • Press 'R' + Right Arrow to apply RTL with right text alignment for RTL languages.
    • Press 'R' + Down Arrow to toggle the styles on and off on chatGPT.

How to Install

  1. Ensure you have a userscript manager like Tampermonkey or Greasemonkey installed in your browser.
  2. Click on the script installation link for chatGPT.
  3. The userscript manager should prompt you to install the script - follow the instructions provided by the extension.

Usage

Open and login chat.openai.com and use the keyboard shortcuts to adjust the text direction and alignment as needed. The script runs automatically on page load on chatGPT, applying a default RTL style with left text alignment for RTL languages.

Note

This script is intended for use with Persian/Farsi language websites and other RTL languages like Arabic, Urdu, etc., on chat.openai.com. It may not produce the desired effects on other websites.