You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.1.235: Firefox web PDF viewer + collapse newlines in selection translation
- Firefox: intercept http(s) .pdf main_frame navigations via blocking
webRequest and redirect to the bundled pdf.js viewer, so mouseover
translation works (Firefox's built-in viewer is a privileged page
extensions can't inject into, bugzilla 1454760). Firefox-only guard;
Chrome keeps the MV3 embed-swap path. local file:// PDFs are out of
reach of webRequest and still use the built-in viewer.
- Selection translation: collapse whitespace/newline runs to a single
space before translating, so a sentence dragged across wrapped lines
(esp. in the PDF viewer) is translated and read aloud as one sentence
instead of being split at the line breaks. (review: DeeTho)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: doc/description.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,9 @@ Mouseover Translate Any Language At Once
19
19
English, Russian, Japanese, Chinese and so on
20
20
21
21
# Change Log
22
+
- 0.1.235
23
+
- Firefox: web (http/https) PDFs now open in the extension's own PDF viewer so mouseover translation works, instead of Firefox's built-in viewer which extensions can't add features to (local file:// PDFs still use the built-in viewer)
24
+
- Selecting text across multiple lines (e.g. a PDF sentence that wraps) no longer splits the sentence at the line breaks: newlines are collapsed to spaces so it is translated and read aloud as one sentence
22
25
- 0.1.234
23
26
- Fix broken menus and pop-ups on sites that use Tippy.js for their own UI (e.g. zulip.com): the extension's tooltip styles no longer leak onto the page's own tooltips
24
27
- Scroll the settings tab bar sideways with the mouse wheel (no more clicking the arrow buttons when tabs overflow)
0 commit comments