View Single Post
Old 07-13-2004, 08:53 AM  
Tom_PMs
Confirmed User
 
Join Date: Jun 2004
Posts: 2,049
Just thinking out loud here.
If you want to pop a window when a browser is trying to *leave* a domain, you'd have to be examining the URI that is being requested, and before it's displayed.

That is, IF currently on mydomain AND IF new action will exit mydomain, THEN pop.

So you cant really examine the current state, you'd have to examine a future state when a link or button is clicked.

You could probably do a custom mod_rewrite script.
Use the rewriterule to pass the request_uri as a query_string to the script, then do an IF THEN ELSE type of thing..

There ya go, lol
__________________

You've read it, you can't unread it.
Tom_PMs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote