본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Unwanted background downloads of pdf

  • 8 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: Paul

more options

In Firefox for Android, there are certain news websites (local/TV type) that will automatically download a pdf file when a news article is opened. The actual content (usually a supporting government document related to the article) is irrelevant. How do I block automatic background downloads from happening? I did not trigger a download by tapping a direct link to the pdf. I did not want to download a pdf file. The page did it on its own by page scripts.

To make it very clear, here is what happens:

Tap link to Article A. Article A opens. Notice on the bottom of the page stating that Pdf B downloaded. Hit refresh on Article A. Notice that Pdf B (1) downloaded. Hit backspace. Tap link to Article A. Notice that Pdf B (2) downloaded. Hit backspace. Tap link to Article A but in private browsing. Notice that Pdf B (3) downloaded.

In Firefox for Android, there are certain news websites (local/TV type) that will automatically download a pdf file when a news article is opened. The actual content (usually a supporting government document related to the article) is irrelevant. How do I block automatic background downloads from happening? I did not trigger a download by tapping a direct link to the pdf. I did not want to download a pdf file. The page did it on its own by page scripts. To make it very clear, here is what happens: Tap link to Article A. Article A opens. Notice on the bottom of the page stating that Pdf B downloaded. Hit refresh on Article A. Notice that Pdf B (1) downloaded. Hit backspace. Tap link to Article A. Notice that Pdf B (2) downloaded. Hit backspace. Tap link to Article A but in private browsing. Notice that Pdf B (3) downloaded.

모든 댓글 (8)

more options

Hi

So that I can try this here, do you have a link to an example page where this happens?

more options

Here is the latest example:

Article

more options

Thank you for sharing that, really useful.

I think I can see what is happening. When I open the page in the desktop version of Firefox, there is an embedded .pdf viewer in the page (towards the bottom). The page has been designed such that when viewed on a mobile device, the .pdf file is downloaded so that it can be viewed.

I do not think this is an issue with Firefox for Android, but is due to the way that the page has been designed.

more options

What can I do to cope with this or block it? I do not want my phone to download pdf files like that.

more options

Honestly, I think this is something that the website you are using has chosen to do. I have seen anything like it before - maybe the website has not been tested on mobile devices.

more options

I see. With desktop, downloads always have a prompt offering to download or cancel. Is there an equivalent setting or option in the Android version to force such a prompt? I do not like the idea of a website automatically downloading files like that, it could be a security risk.

more options

Actually, I think the problem fixed itself. I did not have a pdf reader on my phone before, but in between posting the link and today, I installed one. It gave me a prompt asking which app to use, and I was able to leave the prompt. But for users without a pdf app, is there a solution?

more options

The website will always push out the .pdf file regardless.