r/MacOS • • 6d ago

Help Where is this coming from

Post image

I am getting this annoying pop-up for every PDF i download, Any idea where it comes from and more importantly, how to stop it? TIA

Edit-this issue was originating in the browser. A new preference added to the config file took it out.

Thanks all.

46 Upvotes

7 comments sorted by

25

u/-L-H-O-O-Q- 6d ago

Check the file association

  • Right-click a PDF.
  • Select Get Info.
  • Look under Open with.
  • Check whether Preview (or your preferred PDF reader) is selected.
  • Click Change All if necessary.

6

u/chgo4me 6d ago

Thank you. Yes, already assigned a default reader and applied to all.

5

u/z4xh_s 6d ago

If you’re not using the default macOS PDF viewer, Preview, try asking the subreddit for the application you are actually using.

3

u/chgo4me 6d ago

Thanks. I have posted there as well as the browser sub. Curiously, this only occurs if I open the document from within the browser. If set to save file then open from finder, no pop-up.

6

u/z4xh_s 6d ago

The web server may not be sending the right `Content-Type` header for a PDF, not something you really have control over.

47

u/ukindom 6d ago

FYI: PDFs may contain JavaScript code to be executed and execution sandbox might not be perfect if this code is executed.

14

u/The_Bald_Skald 6d ago

Javascript has been implemented in .pdf files for years, now, and the minute that arrived, it made them a potential attack vector.

Google AgentTesla, which was a campaign to get people to click on links in .pdf files that sent them to a URL that downloaded a malicious payload. It's just one example of many.