您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Provides a translate toot option for Mastodon users via Google Translate. Works with Mastodon 3.2.1
This script provides a translate toot option for Mastodon users via GoogleTranslate. Works with Mastodon 3.2.1.
It adds a drop down menu option to any toot, so that by clicking the "translate" you can translate any toot into your language.
If "Translate toot" does not appear, try refresh the page, or edit the "match" line to the addresses of your favourite instances.
By default, the target language is English. To change this behaviour, go to settings page. At the beginning of the page, you will see a "Translation language" option. You can set your target language here.
About the code:
It's forked from [email protected]'s original version. The original script/repo is no longer maintained, so I fixed the code to make it compatible with Mastodon 3.2.1. The translation goes through tomo's open source proxy at https://translate.uchuu.io/ . Source code of the proxy is available at https://github.com/tomouchuu/mastodon-translate.
Known issue:
This script should work for TamperMonkey/ViolentMonkey on Chrome, and ViolentMonkey/GreaseMonkey on Firefox.
If it doesn't work for Tampermonkey + Firefox, try ViolentMonkey or GreaseMonkey for Firefox instead.
If you have any suggestions, feel free to submit an issue at https://github.com/umonaca/mastodon-translate/issues
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址