Skip to main content

Firefox Usage Notes

Due to compatibility issues with Firefox itself, the user experience of 划词翻译 in Firefox is slightly worse than that in Chrome / Edge.

The following are the known differences:

Firefox does not allow extensions to access local files

This will affect the following functions:

  • When you drag and drop a PDF file into Firefox, 划词翻译 cannot automatically open your PDF file in the built-in PDF reader. Please open the built-in PDF reader first, and then drag and drop the PDF into the built-in PDF reader.
  • When you drag and drop other files (such as .html, .txt) on your computer into Firefox, 划词翻译 cannot be used on these (i.e. files with URLs starting with file://).

In contrast, Chrome / Edge allows you to decide whether to allow 划词翻译 to access your local files.

Firefox does not support global shortcut keys

Global shortcut keys mean that when you press a shortcut key in other software, 划词翻译 will also respond to the shortcut key. 划词翻译 uses this feature to translate content outside the browser.

Since Firefox does not support global shortcut keys, please switch back to Firefox after copying text / images outside the browser and then press the shortcut key.

Firefox has some strange bugs

Firefox has some unique bugs. Although I have solved most of them, the following bugs are still unresolved:

  • #1134 In Firefox, 划词翻译 often reports the error "Promised response from onMessage listener went out of scope" when obtaining translation results. This bug is Firefox's own problem and has not been resolved.
  • #1133 The extension popup in Firefox will display a horizontal scroll bar when translating long text, and occasionally it will be unable to scroll vertically. Since Firefox seems unable to debug the code of the extension popup, I currently have no way to solve this problem. It is recommended to use the standalone translation window instead of the extension popup, because the standalone translation window can adjust the width, and widening the width will eliminate the scroll bar.