Share via

How to auto open downloaded file in IE or edge like chrome

Anonymous
2018-04-11T03:19:08+00:00

In chrome, it does not show any prompt for PDF rather than that it open automatically in new tab. But in IE always it show a prompt to ask whether want to open or save. How to achieve same behavior like chrome.

[Moved from: Internet Explorer / Internet Explorer 11 / Windows 10]

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2018-04-12T08:32:43+00:00

    Hi sibs_915,

    A default program is the program that Windows uses when you open a particular type of file. Opening files with certain file formats or extension requires exclusive programs that can support them. You can select a default program to open PDF files. To do this, follow these steps:

    1. Press Windows + S to open Search Box.
    2. Type Default Programs, then click it.
    3. Click Choose default apps by file type.
    4. Scroll down until you see the .pdf.
    5. Click Microsoft Edge beside it.
    6. Select a new default program to open it.
    7. Click X to apply changes and close the window.

    Let us know if you need further assistance.

    No luck! I am using windows 10 . I am using msSaveOrOpenBlob of javascript to download the blob return by the ajax call. There I need no prompt on download. The PDF need to be opened in new tab instead of any prompt exactly like chrome. But not happening.

    Then I checked with <a> tag. Then also it is not able to open without any prompt on click.

    My code is like below. 

    <a href="pdf folder location">click here to download</a>

    File download option is enable and there is no option for prompt. PFB the prompt I am getting.

    Thanks for your answer.

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-04-11T21:47:20+00:00

    Hi sibs_915,

    A default program is the program that Windows uses when you open a particular type of file. Opening files with certain file formats or extension requires exclusive programs that can support them. You can select a default program to open PDF files. To do this, follow these steps:

    1. Press Windows + S to open Search Box.
    2. Type Default Programs, then click it.
    3. Click Choose default apps by file type.
    4. Scroll down until you see the .pdf.
    5. Click Microsoft Edge beside it.
    6. Select a new default program to open it.
    7. Click X to apply changes and close the window.

    Let us know if you need further assistance.

    1 person found this answer helpful.
    0 comments No comments