Chrome blocks download as a popup from the custom Thank you page

  • Profile Image
    Daniel Lewis
    Asked on July 25, 2016 at 05:14 PM
    I'm also trying to automatically download a pdf when the user's redirected to a custom thank you page after filling out a JotForm. Doing this right now with a document.ready function that sets a timeout that calls window.open. The issue though is that Chrome blocks the download as a popup. Any idea how to do this without the download being blocked?


    Thanks.

  • Profile Image
    Kiran
    Answered on July 25, 2016 at 05:29 PM

    I think this issue is something related to the browser or it's settings. Generally, the PDF files are directly displayed on the chrome browser rather downloading to the PC. You may check for

    You may check for the popup settings of the browser or check for any addons installed on the browser. Also, please check if the download works fine when any other browser is used.

    Please check and get back to us with the web page URL where your form is embedded so that we'll try to replicate the issue at our end and see what best we can do in this regard.

    Thank you! 

  • Profile Image
    RealDL
    Answered on July 25, 2016 at 05:45 PM
    It seems to result from default Chrome settings. Safari for example doesn't
    block the download/display.The link is
    http://www.rightbluelabs.com/logit-sport
    It's problematic largely because most users don't know how to allow popups
    or don't want to.
    *Daniel Lewis*
    Chief Technology Officer
    RightBlue Labs Inc.
    www.rightbluelabs.com
    Phone: 1 (888) 502 2361
    ------------------------------
    This email may be privileged or confidential, and the sender does not waive
    any related rights or obligations. Any distribution, use or copying of
    this email or the information it contains by other than an intended
    recipient is unauthorized. If you receive this email in error, please let
    me know immediately and destroy all copies of this email.
    ...
  • Profile Image
    Welvin
    Answered on July 25, 2016 at 10:18 PM

    It's a default setting for Google Chrome and other browsers, this is for the security so not unless they'll accept popups for your website, the PDF download won't start automatically. 

     

    You have the download button in the page, you can suggest them to click that instead.