You will need to install a user script manager extension to install this script.
🍓 let ChatGPT translate the web page you are reading in one click
if you prefer Claude: claude-page-translate-button
if you prefer Bard: bard-page-translate-button
When you visit a webpage with the userscript installed, you'll see a Translate button at the topright corner of the page. Click the button to send the text from the webpage to ChatGPT for translation. The translated text will be displayed on the ChatGPT web interface.
The default language for translation in the script is the browser's local language. If you need to change it, please click on Tampermonkey menu to make corresponding modifications.
Contributions are welcome! Please feel free to submit issues or pull requests to improve this userscript.
This project is licensed under the MIT License.
Respository link: chat-play
Build code repository link: https://github.com/mefengl/chat-scripts (this repo only contains the built code for greasyfork to automatically update the script)