open-in-browser icon indicating copy to clipboard operation
open-in-browser copied to clipboard

Preserve the filename in “Open in browser as” mode

Open jtotht opened this issue 2 years ago • 1 comments

The filename may be used even if the user chooses “Open in browser as”. I found two cases when this happens:

  • The user chooses this option, but the browser can’t actually handle the given MIME type, and downloads the file anyway. (This can be used for example to force downloading XPIs or JARs as simple ZIP files.)
  • The file is a PDF file. Firefox uses the filename when the file is subsequently saved from the PDF.js toolbar, as well as in the tab title.

jtotht avatar Feb 11 '23 10:02 jtotht

Hi @Rob--W, could you please review this? Not super urgent, but it annoys me constantly because I primarily use this extension to force opening PDFs in Firefox, many of which have no human-readable tab titles due to this bug.

jtotht avatar Mar 04 '23 11:03 jtotht