Results 1 to 3 of 3
Threaded View
-
19th Nov 2010, 01:50 PM #1OPRespected DeveloperWebsite's:
X4B.org[Javascript] Cross-Browser page close prompt
Code:<script language="JavaScript"> window.onbeforeunload = function (e) { var e = e || window.event; if (e) { e.returnValue = 'You'll be redirected to an external site. Do you wish to continue?'; } return 'You'll be redirected to an external site. Do you wish to continue?'; }; </script>
*PLEASE* do not put this on pages without a reason, it would be very anoying!SplitIce Reviewed by SplitIce on . [Javascript] Cross-Browser page close prompt <script language="JavaScript"> window.onbeforeunload = function (e) { var e = e || window.event; if (e) { e.returnValue = 'You'll be redirected to an external site. Do you wish to continue?'; } return 'You'll be redirected to an external site. Do you wish to continue?'; }; </script> Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Cross Linking
By GBot in forum Whitehat SEOReplies: 0Last Post: 17th Dec 2013, 10:10 PM -
How to close comment on wordpress page?
By MediaStar in forum Webmaster DiscussionReplies: 9Last Post: 29th Jul 2011, 08:19 PM -
Cross Browser Compatibility Issue
By KonnectPlus in forum Technical Help Desk SupportReplies: 1Last Post: 12th May 2011, 05:36 PM -
WX Web Browser (lulz start from page 4)
By pillhead2007 in forum Webmaster ResourcesReplies: 69Last Post: 7th Oct 2009, 08:36 AM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...