fabiano.pechibella Posted June 16, 2014 Share Posted June 16, 2014 Hi guys, Can you help me to solve this little problem? When the user click in the close button of the browser, in the same time open a pop up window. Anyone know how I can make this? Tks, Fabiano Magno Pechibella Link to comment Share on other sites More sharing options...
justsomeguy Posted June 16, 2014 Share Posted June 16, 2014 In theory you can use an unload event handler to call window.open, but in reality all popup blockers will block that window from opening. In fact, opening a popup when a window is closed is pretty much the exact behavior that popup blockers try to stop, it's the reason they were even needed at all. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now