I need to know if the pdf opened in the browser or in a separate reader.
I'm working on a website that will open a pdf file in a new window, but some people knowingly or unknowingly set their browser to open the pdf in an Adobe or third party reader. If the pdf did not open in the window I opened for it, I would like to close that window.
How do I know if the pdf did not open in the browser?