GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Exit popup when LEAVE DOMAIN! (https://gfy.com/showthread.php?t=117056)

Darren 03-18-2003 05:41 PM

Exit popup when LEAVE DOMAIN!
 
Ok I want an exit popup on my page but i do not want to use frames or the noclick code etc..

I want it to be programmed to exit when the surfer closes the browser or leaves the domain. POSSIBLE?

ICQ 46335817

or other solutions here.


Reason i dont want to use frames, because SE hate them

Reason i dont want to use noclick command because when surfer clicks back on browser they get the exit pop.

SpaceAce 03-18-2003 05:45 PM

So, you just want it to pop up when they close your site? That's simple. You don't need frames for somethinglike that. Check out http://www/dynamicdrive.com they might have some sample code for you.

As for the back button, you may be able to trap that even with something like OnHistory.go() or something similar. You'll have to look it up.

SpaceAce

Darren 03-18-2003 05:46 PM

uum if its that simple why does everyone not use it?

and wheres this code?

NetRodent 03-18-2003 05:47 PM

I think you're asking for the impossible.

SpaceAce 03-18-2003 05:47 PM

Quote:

Originally posted by Darren
uum if its that simple why does everyone not use it?

and wheres this code?

Everybody does use it. The only mildly complicated thing you listed is stopping the popup from opening when they use the back button.

SpaceAce

Darren 03-18-2003 05:47 PM

Quote:

Originally posted by NetRodent
I think you're asking for the impossible.
Theres some talented guys here, I am sure it can be done

SpaceAce 03-18-2003 05:48 PM

Quote:

Originally posted by NetRodent
I think you're asking for the impossible.
What am I missing? Did I misunderstand what he asked for? Sounds like a simple exit popup to me.

SpaceAce

Snake Doctor 03-18-2003 05:49 PM

Using frames is the only way I know of to keep the console from popping on the back button.

SE's hate them but most SE guru's build separately for the engines anyways.

Darren 03-18-2003 05:52 PM

Quote:

Originally posted by Lenny2
Using frames is the only way I know of to keep the console from popping on the back button.

SE's hate them but most SE guru's build separately for the engines anyways.

interesting we have text only versions of all our sites these will get the SE traffic......

NetRodent 03-18-2003 05:53 PM

Quote:

Originally posted by SpaceAce


What am I missing? Did I misunderstand what he asked for? Sounds like a simple exit popup to me.

SpaceAce

It can't be done without frames or onclick handlers. I spent a long time working on this a while back.

Darren 03-18-2003 05:53 PM

Quote:

Originally posted by SpaceAce


What am I missing? Did I misunderstand what he asked for? Sounds like a simple exit popup to me.

SpaceAce


re-read the thread and if u think its not impossible please provide the code!

Darren 03-18-2003 06:00 PM

Quote:

Originally posted by NetRodent


It can't be done without frames or onclick handlers. I spent a long time working on this a while back.


& what did u find the best solution to be?

Darren 03-18-2003 06:01 PM

I came across this... Any use?

http://www.js-x.com/example/?ex=937&mode=1

NetRodent 03-18-2003 06:10 PM

Quote:

Originally posted by Darren



& what did u find the best solution to be?

We needed a tour that would allow a surfer to click into the site, and click through the tour without any popups happening. The surfer also had to be able to back out of the site completely without any popups. The only time that we were allowed to popup, was if the browser was closed, if a new url was entered in the url bar, or if the site was opened in a new window and the person was trying to go back from the first page.

In short it required that the popup code be put in the parent frame and the site put in the child. To detect if the surfer was clicking back out of the site vs. closing the window we check the name of the parent window and whether it has a history.

jimmyf 03-18-2003 06:11 PM

Quote:

Originally posted by Darren
uum if its that simple why does everyone not use it?

and wheres this code?

I'd like this code also. I would like it 2 pop under though.:Graucho

SR 03-18-2003 06:14 PM

I don't think it's possible.
With frames it works.
And you can just put all the html code inside the noframe tags so search engines see it as well.

Lane 03-18-2003 07:04 PM

you can set a cookie on the pages, without specifying the expire date.. the cookie will stay on the browser as long it is open.. you can have the popups check for that cookie and if it is there, you can have them close themselves right after they popup.. and you should also use the noclick function on the links..

if the cookie is gone, the surfer has left the site, and the popup doesnt close itself.

if someone clicks back button, the popup will show up and close itself real quick.. it might look annoying sometime or just slow it down a bit but it will only happen when the back button is used, so it wont be that bad..

Zyber 03-18-2003 10:50 PM

Quote:

Originally posted by NetRodent
I think you're asking for the impossible.
/Agreed

iroc409 03-18-2003 10:54 PM

Quote:

Originally posted by Lane
you can set a cookie on the pages, without specifying the expire date.. the cookie will stay on the browser as long it is open.. you can have the popups check for that cookie and if it is there, you can have them close themselves right after they popup.. and you should also use the noclick function on the links..

if the cookie is gone, the surfer has left the site, and the popup doesnt close itself.

if someone clicks back button, the popup will show up and close itself real quick.. it might look annoying sometime or just slow it down a bit but it will only happen when the back button is used, so it wont be that bad..

it makes sense now, i've wondered about the "disappearing windows"

WiredGuy 03-18-2003 11:05 PM

I have disabled back buttons when the user leaves the domain and popups on exit (of the domain) but you need frames. If you want the code, hit me on ICQ Darren.

WG


All times are GMT -7. The time now is 01:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123