I have a mind-numbingly dull task that I'm trying to speed up by writing some PHP scripts that run on my localhost, fetch remote web pages, and distill certain info. Part of the process that I'm trying to expedite is to show some data extracted from an article abstract along with a PDF of the article. My script fetches the html from the abstract, looks for the values I'm after and shows them to me and I'd like to go ahead and show the PDF in a frame or iframe. It may sound trivial to click one more <a> link to open the PDF, but if I could save that one click, it will result in a great deal of time saved over the life of this project.
The problem I have is that firefox blocks any attempt to show a remote PDF in an iframe. I've tried setting it as the iframe src attribute, i've tried loading it via Javascript either on page load or in response to user clicks, I've tried a meta redirect and nothing seems to work. Firefox always says:
firefox wrote:Blocked loading mixed active content "http://example.com/path/to/remote/file.pdf"
Line 0
Is there no way to display both my distilled information and the pdf in a single window?