I have recently started using Brave, a week ago maybe, and its been good, but now ive got a serious problem. I just spent an entire night searhing the internet for certain researches and downloading.
However, now i see i cant open those files with acrobat reader, and if i open them with brave or chrome theyre all blank.
Please can someone help me, i cant search again for all those. MatejZizanovic , Thanks for reaching out! It should either download or open directly in browser. If it opens in browser, are you able to click here and save as PDF? When i enable it, i cant open the. If I then click the download button shown at the top of the screenshot then the PDF downloads successfully.
The error is "PDF. Sorry, something went wrong. Not a problem with PDF. Root cause appears to be 3rd party cookies. I'm having this issue when opening local PDF files on 0. Having the same issue as nxbxdy but on Brave Version 0.
Also, I have 2 monitors if that helps somehow. I am having the same issue on Ubuntu I can't reproduce what you're seeing on Version 0. Here's how to do it using js only:. The behaviour should depend on how the browser is set up to handle various MIME types. I recommend against this as it should be the users choice what will happen when they open a PDF file. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 4 months ago. Active 1 month ago. Viewed k times. Improve this question.
MikeD 4, 1 1 gold badge 23 23 silver badges 39 39 bronze badges. This is to my knowledge not scriptable behavior. Most browsers will have their own settings for the behavior of what to do with specific file types on download.
This question has also been answered here: stackoverflow. Add a comment. Active Oldest Votes. With html5, it is possible now. Set a "download" attr in element.
Improve this answer. Sarim Sarim 2, 2 2 gold badges 17 17 silver badges 20 20 bronze badges. You better go with this solution if it's supported. Here's a way to check if it is if "download" in document. Is there a way one can specify the text for the pdf instead of mentioning file path? I need to create pdf from a div html but I don't wish to open another window,download should be seemless like in this answer..
As right now August , Browser support seems to be enhanced for this feature, see: w3schools. Note that the download attribute is only supported for same-origin requests. This is only possible with setting a http response header by the server side code. Milestone 0. Copy link. Description I always download pdf instead of opening them in browser. Go to content setting.
Then go to the option pdf document. Toggle the option to download pdf instead of opening them in brave. Try to download any pdf file.. Actual result: Pdf file is opening inside brave ,instead of getting downloaded.
Expected result: Pdf file should be downloaded in brave, instead of opening inside the browser. Reproduces how often: Easily. Does it reproduce on browser-laptop? Website problems only: Does the issue resolve itself when disabling Brave Shields? Is the issue reproducible on the latest version of Chrome? Additional Information Remove any profile data.
0コメント