Full Page Translator 版本历史 - 7 个版本
Full Page Translator 作者: evintir
Full Page Translator 版本历史 - 7 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 1.9.1
发布于 2026年11月27日 - 81.58 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本1.9.1 — Исправлено: теперь переводятся сайты на веб-компонентах (Reddit, YouTube и др.), где текст скрыт в Shadow DOM — включая автоперевод, «Показать оригинал» и подгрузку динамического контента. Попутно исправлена разбивка очень длинных абзацев (точка больше не «прилипает» к следующему фрагменту).
1.9.1 — Fixed: sites built with web components (Reddit, YouTube, etc.) now translate — their text lives in Shadow DOM, which the collector now traverses (auto-translate, "Show original" and dynamic content included). Also fixed a long-paragraph split issue where sentence punctuation jumped to the next fragment.源代码遵循 MIT 许可证 发布
较早版本
版本 1.9.0
发布于 2026年11月27日 - 80.33 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本1.9.0 — Озвучка на 11 языках (добавлены украинский, испанский, французский, итальянский, польский, португальский, китайский, японский голоса). Переключатель языка перевода в попапе — страница мгновенно пере-переводится на выбранный. Новая горячая клавиша Alt+Shift+X — перевести выделение. Экспорт/импорт настроек JSON-файлом. Статистика использования в опциях.
1.9.0 — Read-aloud now covers 11 languages (new Ukrainian, Spanish, French, Italian, Polish, Portuguese, Chinese, Japanese voices). Target-language switcher in the popup instantly re-translates the current page. New Alt+Shift+X shortcut to translate a selection. Settings export/import as JSON. Usage stats in the options page.源代码遵循 MIT 许可证 发布
版本 1.8.2
发布于 2026年11月27日 - 75.8 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本源代码遵循 MIT 许可证 发布
版本 1.8.1
发布于 2026年11月6日 - 75.41 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本Исправлено
Окно перевода выделенного текста больше не «улетает» за нижний край экрана. Если выделили текст внизу страницы — окно автоматически откроется над выделением и всегда останется целиком видимым, даже если перевод длинный.源代码遵循 MIT 许可证 发布
版本 1.8.0
发布于 2026年11月4日 - 75.01 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本What changed
Page translation speedbackground.js - Global FIFO replaced with two pools: 3 parallel batches (bulk) and a separate fast lane of 2 slots for interactive actions - selection translation and language detection no longer wait for other pages. Rate-limit budget reservation moved prior to pool entry (previously, waiting on a rate-limit pause of up to 45 s blocked the entire queue).
content.js - 2 batches in flight (network overlaps with DOM application), batch size increased from 24 to 30 segments, pause reduced from 220 to 150 ms, and batch size now recovers after a series of successful requests (previously a single error slowed down the rest of the page permanently).
Deduplication: repeating strings (menus, footers) are sent once per request - in tests, 120 units were compressed into 2 requests.
Text collection - Single-pass TreeWalker instead of two; cheap text validation now runs before ancestor traversal; skippedAncestor and getComputedStyle are cached per element (using per-run Maps).
Fixed bug: the old splitLongNode sliced off only a single chunk of <=1800 chars, leaving a tail of arbitrary length - nodes larger than ~2x1800 chars were sent as a single >7000 segment and silently failed to translate ("too_large"). Now splitting is exhaustive + handles surrogate pairs safely (CJK). Small ad iframes (<100x50) are skipped to preserve rate-limit budget.
Auto-translation and TTSFast-path based on : matching target language triggers immediate rejection without network requests; known distinct language initiates translation directly without detection (the first batch still acts as a safety net). Saves ~0.3-1 s per page.
TTS: 3 parallel connections (up from 2), chunk size set to 750 chars, audio passed as Uint8Array instead of base64 (-25% message payload size, no btoa/atob overhead).
Popup updates state in real-time via PAGE_STATE instead of using a fixed 800 ms delay.
Verificationsnode --check passed cleanly on all 4 JS files; grep found no leftover references to the old API.
Logic tests executed on actual code from bundled files (pt-tests/logic-test.mjs): pool maintains <=3, split preserves text (including CJK and astral characters), pipeline applies 120/120 units with <=2 in flight, limit triggers stop without applying, same-lang triggers abort, cache miss handles cleanly - 20/20 PASS.源代码遵循 MIT 许可证 发布
版本 1.7.0
发布于 2026年11月3日 - 73.08 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本Первая публичная версия.
Перевод:
• Перевод страницы целиком в один клик — кнопка на панели, пункт контекстного меню или Alt+Shift+T. Повторный клик мгновенно возвращает оригинал, без обращений к сети.
• Авто-перевод иностранных сайтов (отключается в настройках) и списки «Всегда / Никогда переводить этот сайт».
• Перевод выделенного текста во всплывающей подсказке; оригинал — при наведении курсора на переведённый фрагмент.
• Динамически подгружаемые фрагменты (SPA, бесконечные ленты), iframe, заголовок вкладки и подписи кнопок переводятся тоже.
Озвучивание:
• Чтение выделенного текста нейроголосами (Alt+Shift+S, контекстное меню, кнопка панели): первый звук через 1–2 секунды, до 20 000 символов за раз.
• Автоопределение языка и голоса, скорость 0.75×–2× на лету, сохранение в MP3.
• Компактный плеер: пауза/стоп, ползунок прогресса, свободное перетаскивание по странице.
Общее:
• Тёмная тема — как у системы, светлая или тёмная.
• Кэш переводов: «показать оригинал → перевести снова» не создаёт повторных запросов.
• Встроенный ограничитель нагрузки на бесплатные сервисы (бюджеты в минуту/час/сутки).
• Firefox 140+ на десктопе, Firefox для Android 142+.源代码遵循 MIT 许可证 发布
版本 1.6.0
发布于 2026年10月31日 - 72.19 KB适用于 Firefox 140.0 及更高版本, Firefox for Android 142.0 及更高版本源代码遵循 MIT 许可证 发布