In another post, I’d hoped to be pointed at a way to override a site’s PDF-download-prompting. Reproducing from there:
Oftentimes, I click a PDF link and it displays in the browser. Great! I can skim it, and then if I want a local copy, choose <File -> Save Page As…>.
But other times, a PDF link that looks just the same in HTML instead triggers a file-selector dialog, to save to a local location. This sucks. I neither want a local copy, nor the extra steps to view the document. I believe it’s the site’s
content-disposition: attachment; filename=SOMETHING.PDFheader that triggers this behavior.
I’m pretty sure I never want a site to decide for me to download a local copy of something that I could read in the browser. When unwanted, that behavior is of similar annoyance to a pop-up interstitial.
Is there any way to tell Brave to ignore/override this site behavior, either always, or on a certain click? (Might there be an extension that prevents this behavior?)
As there appears no existing facility for doing this, it’d make a nice new feature. The unwanted extra steps caused by a site overriding in-browser PDF display are of a similar magnitude & annoyance as pop-up ads: provide path, save to local disk, find on local disk, read, remember to delete.
It might be a hidden advanced configuration, that “always prefer browser display over download” or “prompt for browser display before download/file-chooser”. Essentially, I only want a local-path file-chooser to appear if I’ve explicitly chosen
Save As..., never by a site’s forced