Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
I am glad to work with you and help you find a solution for this concern. I understand that you wanted to disable auto-open download in Microsoft edge. Let us work together to find an answer for your question. Please see this link bellow, useful information is provided here to disable auto-open download in Microsoft edge. Please let me know on how I can provide further assistance to you. Be safe and continue to have a good day Leysvee. Details required : characters remaining Cancel Submit.
Was this reply helpful? Yes No. Sorry this didn't help. Thanks for your feedback. No , not that my question. After all, I ended up doing it "custom mime type" way. First, I failed to make chromium play mkv files. Second, I believe that browser is not for watching movies although you can.
So, I'm gonna use chromium here. Go to Settings. Scroll to the bottom of the page. Click Show advanced settings Create file my-movie. Create and open a page containing link to this file. Click the link, download the file, and optional check Always open files of this type menu item:. At least, if you make xdg-open work, it will work in chromium as well. First, you need to install mimetype. If not installed, xdg-open uses file to determine mime type. And I doubt file can be configured to return custom mime type.
I'm running Arch Linux, so your mileage may vary. Here's supposedly useful link for at least xfce. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? The code below will tell the browser to prompt the user to save the file. This link does not have the download attribute. This link has the download attribute. Read More From Actual Wizard Understanding the Different Parts of an Email Address An email address has four parts; the recipient name, the symbol, the domain name, and the top-level domain. There are a number of different ways to get the last element of an array in JavaScript.
It looks like someone else asked a similar question a while ago: how to force pdf files to open in a browser With an answer saying that you should use the header: Content-Disposition: inline; filename. Ok, so unfortunately I tried this, and had to follow the steps in the linked post, but it still does not work.
I tried changing the return type to FileContentResult and that also did not help. This was definitely part of the solution, thank you! Browsers should decide on downloading or displaying based on mime-type. Divya Divya 4 4 silver badges 2 2 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE.
Podcast Who is building clouds for the independent developer? Featured on Meta.
0コメント