-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF.js cannot be opened on IE11. #4031
Comments
Confirmed in IE 11.0.9431.0, with and without HWA. |
Yeah. So what problem with this browser version? What's wrong? |
Duplicate of #3977 ? |
No, i think difference. In this issue, my pdf file only has text and signature. And when i use Prawn with PDF.JS to display. Nothing displayed. Only the blank pages and the page number. |
Closing as fixed. Opens fine for me in IE11. |
pdf.js downloading file in IE ! |
Still broken in IE11. Specifically, IE11 does not open scanned PDF files. It just hangs. |
Same problem, bug cause: IE 11 document.currentScript does not works https://github.com/JamesMGreene/document.currentScript#browser-compatibility |
@bornes Did you include compatibility.js (https://github.com/mozilla/pdf.js/blob/master/web/compatibility.js) in your project? It contains a polyfill for |
The compatibility.js returns the dom element in document.currentScript polyfill. You need the path of the current script (src) to make the script name replacement further |
@bornes PDFJS.workerSrc shall be specified. The logic that using document.currentScript is unpredictable and not advertised as best solution in the documentation or examples. |
👍 Yes, that is correct. Was my "solution" for this issue. I only post the cause of the bug in my first comment |
Same problem here. Is this a known issue, or? |
Is there a solution or workaround? |
same story. version 1.8.618 |
I use pdf.js to display pdf file on my website. It works fine on firefox. chrome, safari, IE10, IE9. But it doesn't work on IE11. Please open below link on IE11 and let me know the issue.
http://www.simpleone.com/contracts/546?token=411e26955f24112e64cb
The text was updated successfully, but these errors were encountered: