Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-18-2003, 05:41 PM   #1
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
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.
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:45 PM   #2
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
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
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:46 PM   #3
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
uum if its that simple why does everyone not use it?

and wheres this code?
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:47 PM   #4
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
I think you're asking for the impossible.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:47 PM   #5
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
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
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:47 PM   #6
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
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
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:48 PM   #7
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
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
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:49 PM   #8
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
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.
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:52 PM   #9
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
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......
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:53 PM   #10
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 05:53 PM   #11
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 06:00 PM   #12
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 06:01 PM   #13
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
I came across this... Any use?

http://www.js-x.com/example/?ex=937&mode=1
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 06:10 PM   #14
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 06:11 PM   #15
jimmyf
OU812
 
Join Date: Feb 2001
Location: California
Posts: 12,651
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.
__________________
Epic CashEpic Cash works for me
Solar Cash Paysite Plugin
Gallery of the day freesites,POTD,Gallery generator with free hosting

Last edited by jimmyf; 03-18-2003 at 06:14 PM..
jimmyf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 06:14 PM   #16
SR
Confirmed User
 
Join Date: Jul 2001
Location: The Netherlands
Posts: 2,239
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.
SR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 07:04 PM   #17
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
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..
__________________
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 10:50 PM   #18
Zyber
Confirmed User
 
Industry Role:
Join Date: Aug 2001
Posts: 832
Quote:
Originally posted by NetRodent
I think you're asking for the impossible.
/Agreed
Zyber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 10:54 PM   #19
iroc409
Confirmed User
 
Join Date: Jan 2003
Location: midwest side, yo
Posts: 4,728
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"
__________________
<a href="http://www.iroc409.com/"><img src="http://www.iroc409.com/adv/120x60.gif" border=0></a>


icq: 1 7 6 4 2 0 9 6 0
Gallery templates for ONLY $25! w00t!
iroc409 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2003, 11:05 PM   #20
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,482
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
__________________
I play with Google.
WiredGuy is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.