Translate to English

Translate any webpage to English using Google Translate with a draggable button and toggle shortcut.

Author
Shadow_Kurgansk
Daily installs
0
Total installs
31
Ratings
0 0 0
Version
1.3
Created
2024-07-06
Updated
2024-07-06
License
MIT
Applies to
All sites

Translate to English - Quick Toggle & Draggable Button

Version 1.3

Description

This user script enhances your browsing experience by adding a convenient translation feature to any webpage. It provides a draggable "Translate to English" button that allows you to quickly translate the current page using Google Translate.

Key Features:

  1. One-Click Translation: Instantly translate any webpage to English with a single click.
  2. Toggle Shortcut: Press Ctrl + M to show/hide the translation button.
  3. Draggable Button: Customize the button's position on your screen for easy access.
  4. Smart Button Text: The button text changes to "View Original" when on a translated page.
  5. Position Memory: The script remembers your preferred button position across sessions.
  6. First-Run Notification: A helpful tooltip appears on first use to guide you.

How It Works

  • The script adds a blue "Translate to English" button to every webpage.
  • Clicking the button redirects you to the Google Translated version of the current page.
  • When on a translated page, the button changes to "View Original" and allows you to return to the original version.
  • The button can be dragged to any position on the screen for your convenience.
  • Use the Ctrl + M shortcut to toggle the button's visibility at any time.

This script is perfect for multilingual browsing, research, or simply exploring content in unfamiliar languages. It seamlessly integrates with your browser, providing a smooth and efficient translation experience.

License

This userscript is open source and released under the MIT License.

## Changelog

**Version 1.3**: Added dynamic button text that changes between "Translate to English" and "View Original" based on the current page state.
**Version 1.2**: Implemented draggable button functionality and position memory.
**Version 1.1**: Added toggle shortcut (Ctrl + M) and first-run notification.
**Version 1.0**: Initial release with basic translation functionality.