Created
June 5, 2012 07:58
-
-
Save skovalyov/2873441 to your computer and use it in GitHub Desktop.
How to prevent pop-up blocking in Firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package { | |
import flash.external.ExternalInterface; | |
public class URLUtil { | |
protected static const WINDOW_OPEN_FUNCTION : String = "window.open"; | |
public static function openWindow(url : String, window : String = "_blank", features : String = "") : void { | |
ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment