Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

جست‌وجوی پشتیبانی موزیلا

از کلاهبرداری‌های پشتیبانی اجتناب کنید. ما هرگز از شما نمی‌خواهیم که با شماره تلفن تماس بگیرید یا پیامک ارسال کنید یا اطلاعات شخصی خود را هم‌رسانی کنید. لطفاً فعالیت‌های مشکوک را با استفاده از گزینه «گزارش سوءاستفاده» گزارش دهید.

مانند نخ كشيده
حل شده

How does the in browser PDF viewer remembers save location for different documents?

Ash

When viewing a PDF in Firefox the URL bar indicates the file was downloaded to a temporary folder. If I then select "Save" from the PDF toolbar; or if I right click and select "Save page as" it opens a save dialog to the location I previously saved the same category of PDF to. For example I have separate folders for invoices, if the PDF is my electricity invoice it somehow knows and opens the electricity folder. If it is a water invoice, it automatically opens the water folder.

Whilst this is indeed quite handy, I do not understand how Firefox is doing this; nor do I understand whether this may be a privacy risk in some circumstances and should therefore be configurable.

When viewing a PDF in Firefox the URL bar indicates the file was downloaded to a temporary folder. If I then select "Save" from the PDF toolbar; or if I right click and select "Save page as" it opens a save dialog to the location I previously saved the same category of PDF to. For example I have separate folders for invoices, if the PDF is my electricity invoice it somehow knows and opens the electricity folder. If it is a water invoice, it automatically opens the water folder. Whilst this is indeed quite handy, I do not understand how Firefox is doing this; nor do I understand whether this may be a privacy risk in some circumstances and should therefore be configurable.
خواندن این پاسخ در متن زمی‌نه

بخش‌ها

You can disable the feature to remember a host based download directory by creating a new Boolean pref in about:config with the name browser.download.lastDir.savePerSite pref and set its value to false.


پاسخ‌ها (4)

I think Firefox "save page as" uses the last directory you used. If you do not change, it will not change.

No, it's not the last directory used. It differentiates between the files I download. If I open and save an electricity invoice it uses the last directory used for electricity invoices. If I immediately then open and save a water invoice it uses the last directory used for water invoices (not the last directory used).

بخش‌ها

You can disable the feature to remember a host based download directory by creating a new Boolean pref in about:config with the name browser.download.lastDir.savePerSite pref and set its value to false.


Firefox 157.0.1, stopped remembering last saved folder used by the inline pdf viewer, Save As always starts in the windows Downloads folder, always, I need to remember, because once a month I need to pay a lot of invoices, and always navigate from downloads to the folder where I store receipts, is becoming painful.

یک سؤال بپرسید

شما باید برای پاسخ به پست‌ها وارد حسابتان شوید. اگر هنوز حسابی ندارید، لطفاًً یک سؤال جدید آغاز کنید.