Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PSA] Prevent M3U8 file from being saved to Downloads dir #15

Open
iamkroot opened this issue Mar 1, 2022 · 2 comments
Open

[PSA] Prevent M3U8 file from being saved to Downloads dir #15

iamkroot opened this issue Mar 1, 2022 · 2 comments

Comments

@iamkroot
Copy link

iamkroot commented Mar 1, 2022

I recently found that the playlist files were being saved to the downloads directory, even if they are set to "Open with MPV" in Firefox. I'd have to clean up the files every so often.
It has to do with this change: https://www.ghacks.net/2021/08/04/a-close-look-at-firefox-91s-new-file-download-opening-behavior/

I was able to go back to the old behaviour by setting browser.download.improvements_to_download_panel to false in about:config.

Just putting this here in case anyone else is also bugged by the change.

@grmat grmat pinned this issue Mar 7, 2022
@grmat
Copy link
Owner

grmat commented Mar 7, 2022

Firefox is shipped with the preference set to false by default on Arch Linux, so I didn't notice that. Thanks for the info.

@riyfu
Copy link

riyfu commented Oct 27, 2022

Setting browser.download.start_downloads_in_tmp_dir to true in about:config should fix this in Firefox 102 and up.

There is now an enterprise policy (StartDownloadsInTempDirectory) and an about:config pref (browser.download.start_downloads_in_tmp_dir) that will once again cause Firefox to initially put downloads in (a subfolder of) the OS temp folder, instead of the download folder configured in Firefox. Files opened from the "what should Firefox do with this file" dialog, or set to open in helper applications automatically, will stay in this folder. Files saved (not opened as previously mentioned) will still end up in the Firefox download folder.

From https://www.mozilla.org/en-US/firefox/102.0beta/releasenotes/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants