Firefox Force English bish

Auto-add English params and toggle Google Translate

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Howard Felix
日安装量
0
总安装量
5
评分
0 0 0
版本
10002
创建于
2025-10-16
更新于
2025-10-16
大小
9.0 KB
许可证
MIT
适用于
所有网站

Firefox Force English Browser Extension

A comprehensive Tampermonkey userscript that automatically forces websites to display in English through multiple methods.

Features

🌐 Automatic English Detection

  • Query Parameters: Automatically adds lang=en or hl=en to URLs
  • Path-Based Languages: Detects and replaces non-English path segments (e.g., /th//en/)
  • Comprehensive Coverage: Handles 50+ language codes including Thai, Japanese, Korean, Chinese, Arabic, and more

🔄 Google Translate Integration

  • Floating Translate Button: Draggable button to instantly translate any page via Google Translate
  • Smart Toggle: Exit translate mode to return to the original page with English parameters
  • Cross-Domain Persistence: Button position saved across all websites and translate sessions

🎯 Smart Features

  • Draggable UI: Move the button anywhere on screen - position persists across page loads
  • Fixed Size Button: Consistent appearance whether showing "Translate" or "Exit Translate"
  • Iframe Detection: Prevents duplicate buttons in nested frames
  • High Z-Index: Button always stays on top of page content

Why Use This?

Many websites ignore Google Translate redirect links or have complex language switching systems. This script:

  1. ✅ Tries native English first (query params & path replacement)
  2. ✅ Falls back to Google Translate if native English fails
  3. ✅ Provides a toggle button to easily switch between modes
  4. ✅ Remembers your preferences across all domains

Manual Google Translate

  • Click the "Translate" button to wrap the page in Google Translate
  • Click "Exit Translate" to return to the original page with English settings
  • Drag the button anywhere on screen for comfortable positioning

Supported Language Detection

Automatically detects and converts 50+ language codes including:

  • Asian: th, ja, ko, zh, vi, id, ms, tl, hi, bn, ta
  • European: ru, pl, cs, de, fr, es, it, nl, sv, pt
  • Middle Eastern: ar, he, fa, tr, ur
  • And many more...

Technical Details

  • Storage: Cross-domain button position using Tampermonkey GM storage
  • Redirect Methods: Multiple fallback methods ensure reliable page navigation
  • Performance: Minimal overhead, runs only on page load
  • Compatibility: Works on all major websites and platforms

Perfect For

  • 🌍 Expats and travelers needing quick English translations
  • 💼 Professionals accessing international business sites
  • 📚 Researchers working with multilingual sources
  • 🛒 Online shoppers on foreign e-commerce sites