Currently, I am utilizing JavaScript blob to download files from the server as shown below:
let blob = new Blob([resposne['_body']], { type: contentType });
if (navigator.msSaveBlob) {
navigator.msSaveOrOpenBlob(blob, fileName); // applicable for IE
} else {
let objectUrl = window.URL.createObjectURL(blob);
window.open(objectUrl);
}
Although the code functions properly, Internet Explorer displays a dialog:
https://i.sstatic.net/carV0.png
Furthermore, if a direct PDF link is placed inside the href tag, it works without any issues. This indicates that there may not be an issue with the Adobe plugin.
The ultimate goal is to have the file open directly without displaying the prompt. I attempted to use a Registry hack recommended here, but it did not produce the desired outcome. Any suggestions on how to achieve this?