Skip to main content
Known Participant
Nov 26, 2017 12:00 AM UTC
Question

Check if pdf is opened on web browser

Is there a way to tell wether the pdf is opened on web browser?

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

JR Boulay
Community Expert
Community Expert
Nov 27, 2017 11:00 AM UTC

As far as I remember, made a useful tuto (I can not find the link) about forcing the download of PDF files (instead of opening in the web browser), it could be a workaround.

Translate
Acrobate du PDF, InDesigner et Photoshopographe
Joel Geraci
Community Expert
Community Expert
Nov 27, 2017 5:49 PM UTC

That article got archived by Adobe.

Translate
Known Participant
Nov 26, 2017 12:05 AM UTC

Thanks!

Can I open the file with adobe reader?

Translate
Joel Geraci
Community Expert
Community Expert
Nov 26, 2017 12:09 AM UTC

Yes. Reader is not considered External unless it's running as a browser plugin which means just in IE at this point.

Translate
Known Participant
Nov 26, 2017 12:13 AM UTC

How do I use javascript to run the pdf file by adobe reader if it is opened on a browser?

Translate
Joel Geraci
Community Expert
Community Expert
Nov 26, 2017 12:02 AM UTC

Yes.

   if ( this.external )

   {

      // Viewing from a browser

   }

   else

   {

      // Viewing in the Acrobat application.

   }

Translate