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

file downloaded rather than opened

Open setharnold opened this issue 2 years ago • 2 comments

Hello, a recent Firefox changed download behaviour to just blindly downloading files to a Downloads/ directory without asking the user about it.

Open In Browser still helps but I think this Firefox change may have changed how Open In Browser works.

I'm on Firefox 98.0.2 (as reported by Help|About Firefox) -- Ubuntu Focal package version 98.0.2+build1-0ubuntu0.20.04.1.

Clicking https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch from https://www.openwall.com/lists/oss-security/2022/04/07/8 brings up the usual Open In Browser dialog box, and selecting Open in browser as MIME from file extension downloads the file rather than opening it in the browser.

Selecting Open in browser as text shows the patch in the tab contents as I expected.

I have to admit that I didn't try this specific URL before this newer version of Firefox; but I seem to remember needing to change the MIME type only rarely in the past.

Thanks

setharnold avatar Apr 07 '22 21:04 setharnold

This is new behavior in Firefox, which can (temporarily?) be disabled by visiting about:config and setting browser.download.improvements_to_download_panel to false.

Rob--W avatar Apr 18 '22 23:04 Rob--W

Oh, nice, thanks for the tip. :)

setharnold avatar Apr 22 '22 01:04 setharnold