Title: window.open
Last modified: August 30, 2016

---

# window.open

 *  Resolved [David](https://wordpress.org/support/users/dsolsona/)
 * (@dsolsona)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/windowopen/)
 * When I try to download a file, the page create a window-open and this is blocked
   by chrome and firefox at least.
    To avoid the blocking, I changed in “folder.
   php” the next line.
 * I hope will be usefull for someone.
 * if (!is_null($file)) {
    $url = $dropbox->GetLink($rootFolder .$file,false,false);//
   190615DS: echo ‘<script language=”javascript”>window.open(“‘.$url.'”);</script
   >’; echo ‘<meta http-equiv=”refresh” content=”0;url=’.$url.'”/>’;
 *  }
 * David
 * [https://wordpress.org/plugins/blighty-explorer/](https://wordpress.org/plugins/blighty-explorer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [natpoit](https://wordpress.org/support/users/natpoit/)
 * (@natpoit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/windowopen/#post-6248732)
 * Thanks a lot, seems it works
 *  Plugin Author [Blighty](https://wordpress.org/support/users/blighty/)
 * (@blighty)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/windowopen/#post-6248734)
 * Thanks for the feedback. I’m looking to see how I can best address this in a 
   future release.
 *  Plugin Author [Blighty](https://wordpress.org/support/users/blighty/)
 * (@blighty)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/windowopen/#post-6248756)
 * v1.5.2 addresses this problem. Thanks for raising it.
 * Chris

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘window.open’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/blighty-explorer_fffefe.svg)
 * [Blighty Explorer](https://wordpress.org/plugins/blighty-explorer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blighty-explorer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blighty-explorer/)
 * [Active Topics](https://wordpress.org/support/plugin/blighty-explorer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blighty-explorer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blighty-explorer/reviews/)

## Tags

 * [download](https://wordpress.org/support/topic-tag/download/)
 * [popup](https://wordpress.org/support/topic-tag/popup/)

 * 3 replies
 * 3 participants
 * Last reply from: [Blighty](https://wordpress.org/support/users/blighty/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/windowopen/#post-6248756)
 * Status: resolved