View Full Version : the exit javascript...
playa
04-12-2000, 09:16 PM
does a page have to fully load in order for the exit script to work.....
i noticed on my site that when my page isn't fully loaded the exit console won't come up
yes, it has to be fully loaded..
however there is a trick http://adultwebmasterinfo.com/ubb/wink.gif
hit me on icq : 1014171
richard
04-13-2000, 04:23 AM
yep, trick is not really a trick, more a bloody obvious solution to an exit hit draining problem.
Using <body onunload="openmyexitsponsor()">
means that the whole page has to load up first, before that code will ever be executed.
So - you need a page that will load REALLY fast then right. How about a 1kb page?
"IMPOSSIBLE!" you cry, "how can a CJ page me that small?!"
it cant.
Heres the "trick". Make you mainpage.html or whatever you call your normal page, a frameset page.
<code>
<HTML>
<HEAD><TITLE>Quality Links Site</TITLE></HEAD>
<FRAMESET rows=*,100% border=0 framespacing="0" frameborder="NO" bordercolor="#FFFFFF">
<FRAME src="SMALLPAGE.htm"><FRAME src="http://www.YOURDOMAIN.com/MAINPAGE2.html"></FRAMESET>
</HTML>
</code>
ok?
so the MAINPAGE2.html (name you frameset page the page that the script calls, and call that old page mainpage2 [in this eg])is your normal page, and SMALLPAGE.htm is this clever little idea of mine...
in SMALLPAGE.htm have all your exit code in a 1kb page. (i also use this page to maintain all of my popups etc)
sample code:
<code>
<html>
<head>
<script language="Javascript">
window.open('http://www.freerotic.com/warning1.htm');
window.open('http://www.freerotic.com/password.htm');
<!--
function exit(){
window.open('http://www.keelebayltd.com/cgi-bin/redirect.cgi?AD=rich','full1')
}
//-->
</script>
</head>
<body onUnload="exit()">
</body>
</html>
</code>
See?
OK, this is what happens, your script loads up the frameset page.
Looking at the code for it, you can see it has a zero frame. In the 100% frame the src is the normal CJ page (mainpage2.html) in the 0% frame, you have the exit code (smallpage.htm).
So when the script calls the frameset, both pages load side by side, and the 1kb exit page loads super fast.
When the smallpage unloads it opens the exit window - not when the mainpage2 unloads.
=============================================
I hope that lot is clear.
I have this working on our two Blind-IO sites, and i dont have any experience with other scripts, so dont know if it would work with them...
Tim/Due/Krister any input?
I know Killah tried using it, and he said it fucked his site up - so i dont encourage newbies who are not 100% sure with what they are doing to try this out.
Richard.
Ennox
04-13-2000, 04:24 PM
I have tried this trick for about 6 hours
now to see if it works. The traffic dropped
constantly and when I uploaded the old
pages again there was a significant increase
in hits. This could just be coincidence,
but I won't continue using this "trick".
Guido
richard
04-13-2000, 04:36 PM
I know Killah tried using it, and he said it fucked his site up - so i dont encourage newbies who are not 100% sure with what they are doing to try this out.
If you understand you stuff, you will be able to do it.
The logic is fine, executing it is another matter.
Richard.
playa
04-13-2000, 05:48 PM
i am not sure using frames for the ucj 3 script is good idea.. haven't seen any other sites besides sites using blind-o use it.....So far i have two options...
i thought about opening up 2 entrance consoles to help the main site load or make the main page smaller...There gotta be a better exit javascript out there...
Rimmer
04-13-2000, 06:40 PM
A few people have used frames and a few people have screwed up things too. Its possible to run ucj-c with frames just makes sure you put the required extra code correctly on your page.
Juggler
04-13-2000, 08:59 PM
Rimmer a quick question if I use this where would I put:
<script language="JavaScript">
<!--
document.cookie = parent.document.referrer;
//-->
</script>
<!--#exec cmd="./cgi-bin/ucj/ucjref.cgi"-->
Thanks Richard nice tip http://adultwebmasterinfo.com/ubb/smile.gif I have tried it on a seconadry page and it works cool thanks another day another lesson love it
Anth0ny
04-14-2000, 03:29 AM
Shit, it was so easy... One of those things you learned when I first started, but forgot.
Tim, inquiring minds want to know where to put the code!
http://adultwebmasterinfo.com/ubb/smile.gif
Killah
04-14-2000, 05:12 AM
Thanks to Richard for the nice words:
>I know Killah tried using it, and he said it fucked his site up - so i dont encourage newbies who are not 100% sure with what they are doing to try this out.
I understand that you all want to earn more money with the exit sponsors.
But these scripts will effect a lower productivity of the traffic you send out, as we tested already.
You shouldn't wonder if the payment of the exit sponsors will drop in the future.
We can't pay the same price for lower quality.
Thanks,
Killah
SellYourExit.com
CycleJerk.com
Dan S
04-14-2000, 06:08 AM
Why should this script lower productivty/quality of the exiting traffic?
It just improves the speed of poping up the exit. I really cant see the point here.
It is still the same traffic that you send on exit.
EXCEPT: You may get higher exit impressions because its more difficult to close the faster code (with frameset)for web veterans, and those wont buy from a sponsor on exit.
If you have a slower code (means slower exit) the percentage of web-newbies on your exit impressions will be much higher, because they simply do not know what to do.
So if you say "web-newbie" traffic is better quality than "veteran" traffic you might be right.
But than again, the deal with the exit broker is not to send them "newbie" exits but "EXIT TRAFFIC OF MY CJ".
I use the code of Rich on both of my sites for quite a while now with good success. It is still exit of my main page.
Just my thoughts http://adultwebmasterinfo.com/ubb/smile.gif
Dan
richard
04-14-2000, 09:57 AM
You have received a message!
Nice, Rich....
My Scorpion is 100 % fucked up... All trades died in the last night and my traffic is nearly zero...
your words.
You have received a message!
:-)
It is my fault...
I used the stuff without knowing if scorpion works with these frames....
Hey Jan, i wasnt impliying you were a newbie man, just using you as an example to warn people.
As for productivity? This little code gives you more impressions to your sponsor, which can help compensate if they are shaving. I wrote it so that i could have a really large mainpage, loads of pictures, and big "TGP" links.
Dan S is right about the "veteran" stuff though, and also right about the deals - the whole point with exit traffic sponsors is the bulk traffic, not the quality.
Richard.
Hi,
To the best of my knowledge, the referer variable will be fucked up in the frames windows, thus the SSI code for Scorpion or UCJ should be places somewhere like this:
<code>
<HTML>
<HEAD><TITLE>Quality Links Site</TITLE></HEAD>
<!-- #exec YOUR SSI PATH -->
<FRAMESET rows=*,100% border=0 framespacing="0" frameborder="NO" bordercolor="#FFFFFF">
<FRAME src="SMALLPAGE.htm"><FRAME src="http://www.YOURDOMAIN.com/MAINPAGE2.html"></FRAMESET>
</HTML>
</code>
Don't put it in smallpage.htm or mainpage2.html otherwise the referer will be your site, not the real one.
Regards,
Dan
playa
04-15-2000, 10:34 AM
does anyone else know the exact way to put
code for the ucj 3 script...
is it putting it in the frame, smallpage, or mainpage?
demoman
04-15-2000, 11:05 AM
small page..
demoman
04-15-2000, 11:08 AM
WOW! Did you guys see that!
I posted this message and checked if it was added and you know what i saw!
I saw the magic words BIG JERK just in front of my name! thank you guys! you are too good for this world http://adultwebmasterinfo.com/ubb/smile.gif
richard
04-15-2000, 12:19 PM
Don't put it in smallpage.htm or mainpage2.html otherwise the referer will be your site, not the real one.
Playa, i would take Dan's advice over Demo's.
Nothing personal.
Richard.
Dan S
04-15-2000, 04:45 PM
I run it from the frameset source without any probs with ucj c3
Dan
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.