This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent automatic downloads in Android

more options

Problem: I search for something in Google or wherever and click on a result that looks right. Now a PDF automatically downloads and saves to my phone. What if this were malware? What if I don't want the PDF saved to my phone? ex: search for Census PDF in Google. Click on any of the first few links (they are all PDFs). Result: Android says Download saved and asks if I want to open it (no prompt beforehand asking if I want to download this random link).

Tried: searched forever for a solution. In Windows, you can just go to Options and choose the Always Ask where to Save, or Always Ask or whatever, so that it will prompt you before downloading. I didn't realize Android wasn't set up this way already. I hoped that could be done in Android but it can't. Not even by changing some of the browser.download options in about:config.

Hopes: this can be like expedited for the next release. I guess maybe in most cases people know what PDFs they are downloading, but I am sure there has to be other people clicking a search result in Google without knowing that instead of a website, a PDF downloads (didn't even take me to the website either). PDFs tend to be a big medium for malware so it would be ideal for Firefox security purposes to at least prompt a user "do you want to download this file?" regardless of asking where to save.

Let me know your thoughts. In the meantime I guess I will hope I don't click any URLs that end up being PDFs haha. Thank you!

Problem: I search for something in Google or wherever and click on a result that looks right. Now a PDF automatically downloads and saves to my phone. What if this were malware? What if I don't want the PDF saved to my phone? ex: search for Census PDF in Google. Click on any of the first few links (they are all PDFs). Result: Android says Download saved and asks if I want to open it (no prompt beforehand asking if I want to download this random link). Tried: searched forever for a solution. In Windows, you can just go to Options and choose the Always Ask where to Save, or Always Ask or whatever, so that it will prompt you before downloading. I didn't realize Android wasn't set up this way already. I hoped that could be done in Android but it can't. Not even by changing some of the browser.download options in about:config. Hopes: this can be like expedited for the next release. I guess maybe in most cases people know what PDFs they are downloading, but I am sure there has to be other people clicking a search result in Google without knowing that instead of a website, a PDF downloads (didn't even take me to the website either). PDFs tend to be a big medium for malware so it would be ideal for Firefox security purposes to at least prompt a user "do you want to download this file?" regardless of asking where to save. Let me know your thoughts. In the meantime I guess I will hope I don't click any URLs that end up being PDFs haha. Thank you!

All Replies (1)

more options

Just wanted to check if there were any suggestions or thoughts. I don't think there is a solution for this issue, or at least not anything feasible. For now I am using Brave browser on my phone because it does have a setting to disable automatic downloads, but I don't necessarily want to use it going forward. Let me know if you need anything else from me. Thanks.