您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Translate words on click, show in a tooltip, add to a sidebar list, and store in local storage
当前为
Short Description: A UserScript that translates selected words, displays them in a tooltip, adds them to a sidebar for reference, and stores them in local storage.
The Persistent Translator Tooltip script enhances your browsing experience by providing an easy and efficient way to translate and track words on any webpage. It is especially useful for language learners and those who frequently encounter unfamiliar words while browsing.
Select a word on any webpage. The script sends a request to a translation API and retrieves the translation in the desired language (set to Persian by default). The translated word appears in a tooltip, and it's added to a sidebar on the right side of the screen. Users can hide/show the sidebar or clear its contents using the provided buttons.
Install the UserScript using a UserScript manager like Tampermonkey or Greasemonkey. Navigate to any webpage and select a word to see its translation. Use the sidebar buttons to manage translations and sidebar visibility.
Users with coding knowledge can modify the target language by altering the API request within the script.
The script currently relies on a specific translation API and is set to translate into Persian. Users may need to modify the script for other languages or APIs. The script's functionality may vary based on website layout and content.
This script is released under the MIT License.
For any feedback, issues, or contributions, please contact [Your Contact Information/Profile Link].