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)
-   -   Can someone check this code and tell me whats wrong with it? (https://gfy.com/showthread.php?t=666508)

Dirty F 10-15-2006 11:31 AM

Can someone check this code and tell me whats wrong with it?
 
Code:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var refarray = new Array();
refarray['google.com'] = "http://www.mysite.com/404.htm?from=google";
refarray['yahoo.com'] = "http://www.mysite.com/404.htm??from=yahoo";
refarray['altavista.com'] = "http://www.mysite.com/404.htm??from=altavista";
refarray['alltheweb.com'] = "http://www.mysite.com/404.htm??from=alltheweb";
refarray['msn.com'] = "http://www.mysite.com/404.htm??from=msn";
refarray['lycos.com'] = "http://www.mysite.com/404.htm??from=lycos";
refarray['infoseek.com'] = "http://www.mysite.com/404.htm??from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.open('http://www.mysite.com/404.htm?','_top');
}
// End -->
</script>

I use it to redirect image traffic and it always worked fine. A few mins ago i decided to redirect to another url so i simply replaced the mysite part with a different url. I saved it (Wordpress) and since then the redirect completely stopped working. I can't figure out what went wrong as i didnt touch anything but the url part.

Spunky 10-15-2006 11:35 AM

"http://www.mysite.com/404.htm?from=google";
is missing a ? after htm

Dirty F 10-15-2006 11:37 AM

Crap..ignore the double ??, thats supposed to be one. I fucked up when posting it here. On my site its 1 ?

BV 10-15-2006 11:38 AM

try this one:


<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var refarray = new Array();
refarray['excite.com'] = "http://www.domain.com?from=excite";
refarray['google.com'] = "http://www.domain.com?from=google";
refarray['yahoo.com'] = "http://www.domain.com?from=yahoo";
refarray['altavista.com'] = "http://www.domain.com?from=altavista";
refarray['alltheweb.com'] = "http://www.domain.com?from=alltheweb";
refarray['msn.com'] = "http://www.domain.com?from=msn";
refarray['lycos.com'] = "http://www.domain.com?from=lycos";
refarray['infoseek.com'] = "http://www.domain.com?from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.location.replace(refarray[i]);
}
// End -->
</script>

corvette 10-15-2006 11:38 AM

offsubject, but thanks for the comments in the other thread a few days back, wanted to tell you that, no hard feelings, take care

-Mark

BV 10-15-2006 11:39 AM

i think i gave you that code a while back didn't i?

k0nr4d 10-15-2006 11:40 AM

im not sure if its the same in javascript, but i think your for should be a foreach

Dirty F 10-15-2006 11:43 AM

Quote:

Originally Posted by corvette (Post 11080913)
offsubject, but thanks for the comments in the other thread a few days back, wanted to tell you that, no hard feelings, take care

-Mark

Cool, thanks.

polish_aristocrat 10-15-2006 11:44 AM

sorry i dont even know HTML, cant help you....

Dirty F 10-15-2006 11:44 AM

Quote:

Originally Posted by BV (Post 11080912)
try this one:


<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var refarray = new Array();
refarray['excite.com'] = "http://www.domain.com?from=excite";
refarray['google.com'] = "http://www.domain.com?from=google";
refarray['yahoo.com'] = "http://www.domain.com?from=yahoo";
refarray['altavista.com'] = "http://www.domain.com?from=altavista";
refarray['alltheweb.com'] = "http://www.domain.com?from=alltheweb";
refarray['msn.com'] = "http://www.domain.com?from=msn";
refarray['lycos.com'] = "http://www.domain.com?from=lycos";
refarray['infoseek.com'] = "http://www.domain.com?from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.location.replace(refarray[i]);
}
// End -->
</script>


Doesnt work...wtf...what happened.

Deputy Chief Command 10-15-2006 11:46 AM

gallery submitting sucks ? doenst it ?

Dirty F 10-15-2006 11:46 AM

Quote:

Originally Posted by polish_aristocrat (Post 11080939)
sorry i dont even know HTML, cant help you....

Well, im happy you posted in my thread anyway.

Dirty F 10-15-2006 11:48 AM

Quote:

Originally Posted by Deputy Chief Command (Post 11080952)
gallery submitting sucks ? doenst it ?

You really are such a fucking retard.

Wtf has this to do with gallery submitting you fucking idiot. I wonder you are so obsessed with the fact that i submit a few galleries everyday anyway. Can you explain it?

this coming from a guy who spams his blog on gfy to get some traffic....how stupid can you get. Its like Metaman, calling everybody ugly but doesnt have the guts to post a pic of himself.

Deputy Chief Command 10-15-2006 11:49 AM

Quote:

Originally Posted by Franck (Post 11080961)
You really are such a fucking retard.

Wtf has this to do with gallery submitting you fucking idiot. I wonder you are so obsessed with the fact that i submit a few galleries everyday anyway. Can you explain it?



you love changing storys dont you ? can you explain THAT :upsidedow

Dirty F 10-15-2006 11:51 AM

Quote:

Originally Posted by k0nr4d (Post 11080923)
im not sure if its the same in javascript, but i think your for should be a foreach

Not sure what you are trying to say but i didnt touch any code. Only the url part.

Dirty F 10-15-2006 11:53 AM

Quote:

Originally Posted by Deputy Chief Command (Post 11080964)
you love changing storys dont you ? can you explain THAT :upsidedow

Dude changing what stories? Are you on fucking crack. Still after what 1 year or so you cant backup ONE single claim you made about me. Come on, you should know better by now. Youre a delusional liar who spams his blog on gfy.

I offered money several times to people who could back up your claims about me. I never had to pay a penny...i think that says enough you moron :1orglaugh

Now fuck off idiot.

Deputy Chief Command 10-15-2006 11:58 AM

ahh , so I should revamp the threads where you claim you DONT submit galleries , or where you caim that the only gallery submtitting y ou do is t he occasional gallery you submit to the hun ?

now all of a sudden it became "I do it every day so fuckin what" ? ?

MikesTraffic 10-15-2006 12:00 PM

Hey Frank I just implemented the code into my wordpress blog at www.porno-shack.com and it works just fine for me. gimme a shout on icq 59975954 and lemme know what it is you are doing, maybe i can help.

Dirty F 10-15-2006 12:11 PM

Quote:

Originally Posted by Deputy Chief Command (Post 11081012)
ahh , so I should revamp the threads where you claim you DONT submit galleries , or where you caim that the only gallery submtitting y ou do is t he occasional gallery you submit to the hun ?

now all of a sudden it became "I do it every day so fuckin what" ? ?

Idiot, i mean total fucking big idiot, not that i have to explain anything to you but just to show the people who read this thread what a fucking moron you are. Although most know that by now.

You are obsessed with me and my galleries for over a year now. Back then when you started your scary obsession i was INDEED submitting the odd gallery. You even had evidence as you googled my site and where you thought you found 100's of galleries you actually only found a few galleries with several duplicated index pages with different recips. Now that already made you look like the retard you are but still you just keep on going and going and look more pathetic with every try.

And yes, obsessive freak, i submit a few galleries a day now and yes it makes me more money than you spamming your blog on gfy :1orglaugh

I know it sucks that everything i do i do it better than you hence your obsession. That in combination with your compulsive lying and this is the result. Very pathetic.

Youve been trying forever to make me look stupid with made up claims and delusional thoughts that appear in your tiny brain while jerking off to my posts and pics. You have a problem. Its in your head. Find help.

Dirty F 10-15-2006 12:12 PM

Quote:

Originally Posted by MikesTraffic (Post 11081032)
Hey Frank I just implemented the code into my wordpress blog at www.porno-shack.com and it works just fine for me. gimme a shout on icq 59975954 and lemme know what it is you are doing, maybe i can help.

I just fucking dont get it how it suddenly stopped working for me. The same fucking code. I'll hit you up if i still cant figure it out.

scottybuzz 10-15-2006 12:23 PM

sigspot.

Deputy Chief Command 10-15-2006 12:26 PM

my lil comment here and there really makes you go off doesnt it ? me >> lil line of text you >> a whole fucking book

Dirty F 10-15-2006 12:30 PM

Quote:

Originally Posted by Deputy Chief Command (Post 11081217)
my lil comment here and there really makes you go off doesnt it ? me >> lil line of text you >> a whole fucking book

Oh dont even go there you obsessed freak. You fucking stalk me for over a year :1orglaugh

Fucking idiot.

Funny how you completely ignore what i just explained...and what you knew already.

So what claim are you gonna make up next?

Tell me, how does it work being an compulsive liar? I mean do you know you lie or do you lies become instant truth for you the moment you make something up.

Deputy Chief Command 10-15-2006 12:37 PM

ya , Franck , you are right

you never change your story

scottybuzz 10-15-2006 12:40 PM

sigspot 2

Dirty F 10-15-2006 12:40 PM

Quote:

Originally Posted by Deputy Chief Command (Post 11081327)
ya , Franck , you are right

you never change your story

:1orglaugh :1orglaugh

Ignore ignore and make up some more shit :1orglaugh :1orglaugh

You are truly fucked in your head. As in really.

Ok enough...no point in trying to make sense because a delusional liar will make up anything he wants and ignore the truth. :1orglaugh

scottybuzz 10-15-2006 12:41 PM

franck stop ignoring me dude. u seem to make 10 threads about me a day and now your ignoring my plea's for attention. whats going on?

GrouchyAdmin 10-15-2006 12:42 PM

FRANCK'S HOUSE OF JAVASCRIPT CARDS IS FALLING DOWN AROUND HIM :o :o :o :o

Dirty F 10-15-2006 12:42 PM

Quote:

Originally Posted by BV (Post 11080912)
try this one:


<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var refarray = new Array();
refarray['excite.com'] = "http://www.domain.com?from=excite";
refarray['google.com'] = "http://www.domain.com?from=google";
refarray['yahoo.com'] = "http://www.domain.com?from=yahoo";
refarray['altavista.com'] = "http://www.domain.com?from=altavista";
refarray['alltheweb.com'] = "http://www.domain.com?from=alltheweb";
refarray['msn.com'] = "http://www.domain.com?from=msn";
refarray['lycos.com'] = "http://www.domain.com?from=lycos";
refarray['infoseek.com'] = "http://www.domain.com?from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.location.replace(refarray[i]);
}
// End -->
</script>

Ok i got it working.

I suggest replacing the last line with

if (document.referrer.indexOf(i) != -1) window.open('http://www.mysite.com/404.htm?','_top');
}

Because it will break the frame.

MaddCaz 10-15-2006 12:43 PM

I just dont KNOOO!!!!


All times are GMT -7. The time now is 02:14 AM.

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