Firefox Force English bish

Auto-add English params and toggle Google Translate

作者
Howard Felix
今日安裝
0
安裝總數
2
評價
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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址