Skip to content
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

Skip in page script injection in Chrome PDF Viewer #533

Merged

Conversation

felixbuenemann
Copy link
Contributor

There's an issue in all current Chrome versions, where the built-in PDF-Viewer only displays a blank page, if the Ember Inspector extension is active.

This fix works around the issue, by skipping the injection if the document's content type is reported as PDF which should never be true for normal HTML pages.

Fixes #532.

For a test case see issue #532.

There's an issue in all current Chrome versions, where the built-in
PDF-Viewer only displays a blank page, if the Ember Inspector extension
is active. This fix works around the issue, by skipping the injection if
the document's content type is reported as PDF.
@teddyzeenny
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PDF links are displayed as blank pages in chrome
2 participants