mozilla/pdf.js — Issue #1020: Dynamically-loaded PDFs are not supported
Author: GPHemsley
Created: 2012-01-03 20:47:22+00:00
State: open

Some sites, like that for SallieMae loans, like to dynamically load PDFs into an iframe using unnecessarily complex JavaScript. However, pdf.js attempts to load a different page (the default URL, I guess) before the proper URL has been provided. Inevitably, it is unsuccessful, because the page it attempts to load is not actually a PDF.

The issue is not one of actual PDF problems, because manually hacking the URL together lets the PDF load normally.