title: How to close the iOS Captive Network Assistant Popup with Javascript
body: <p><strong>Problem:</strong> Captive Network Assistant on Apple devices is bring up the CNA screen with only a cancel button. Is there a way to close this window and/or redirect to safari by clicking on a link/javascript? </p>
  
  <p><strong>Background Info:</strong> Upon connecting to a wifi access point, users are redirected to a splash page. This splash page has links with target _blank to open in a new tab. The CNA login dialog breaks this functionality. Ideally, users would be prompted the CNA login, they would click continue, and it would load our splash page in safari and close the login dialog. Any information on how to do this would be much appreciated. Thanks!</p>