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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dirty F
    Too lazy to set a custom title
    • Jul 2001
    • 59204

    #1

    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
    I need a beer
    • Jun 2002
    • 133978

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

    Comment

    • Dirty F
      Too lazy to set a custom title
      • Jul 2001
      • 59204

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

      Comment

      • BV
        wtf
        • Sep 2001
        • 10914

        #4
        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>

        Comment

        • corvette
          Confirmed User
          • Oct 2001
          • 7880

          #5
          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
          If you need a good company for check writing services, then check out checkissuing, and for webhosting, check out Phoenix NAP

          Comment

          • BV
            wtf
            • Sep 2001
            • 10914

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

            Comment

            • k0nr4d
              Confirmed User
              • Aug 2006
              • 9231

              #7
              im not sure if its the same in javascript, but i think your for should be a foreach
              Mechanical Bunny Media
              Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

              Comment

              • Dirty F
                Too lazy to set a custom title
                • Jul 2001
                • 59204

                #8
                Originally posted by corvette
                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.

                Comment

                • polish_aristocrat
                  Too lazy to set a custom title
                  • Jul 2002
                  • 40377

                  #9
                  sorry i dont even know HTML, cant help you....
                  I don't use ICQ anymore.

                  Comment

                  • Dirty F
                    Too lazy to set a custom title
                    • Jul 2001
                    • 59204

                    #10
                    Originally posted by BV
                    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.

                    Comment

                    • Deputy Chief Command
                      Deputy Chief Command
                      • Nov 2005
                      • 4482

                      #11
                      gallery submitting sucks ? doenst it ?

                      Comment

                      • Dirty F
                        Too lazy to set a custom title
                        • Jul 2001
                        • 59204

                        #12
                        Originally posted by polish_aristocrat
                        sorry i dont even know HTML, cant help you....
                        Well, im happy you posted in my thread anyway.

                        Comment

                        • Dirty F
                          Too lazy to set a custom title
                          • Jul 2001
                          • 59204

                          #13
                          Originally posted by Deputy Chief Command
                          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.
                          Last edited by Dirty F; 10-15-2006, 10:50 AM.

                          Comment

                          • Deputy Chief Command
                            Deputy Chief Command
                            • Nov 2005
                            • 4482

                            #14
                            Originally posted by Franck
                            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

                            Comment

                            • Dirty F
                              Too lazy to set a custom title
                              • Jul 2001
                              • 59204

                              #15
                              Originally posted by k0nr4d
                              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.

                              Comment

                              • Dirty F
                                Too lazy to set a custom title
                                • Jul 2001
                                • 59204

                                #16
                                Originally posted by Deputy Chief Command
                                you love changing storys dont you ? can you explain THAT
                                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

                                Now fuck off idiot.

                                Comment

                                • Deputy Chief Command
                                  Deputy Chief Command
                                  • Nov 2005
                                  • 4482

                                  #17
                                  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" ? ?

                                  Comment

                                  • MikesTraffic
                                    Confirmed User
                                    • Jan 2006
                                    • 1992

                                    #18
                                    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.
                                    Fortinet GURU

                                    Comment

                                    • Dirty F
                                      Too lazy to set a custom title
                                      • Jul 2001
                                      • 59204

                                      #19
                                      Originally posted by Deputy Chief Command
                                      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

                                      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.

                                      Comment

                                      • Dirty F
                                        Too lazy to set a custom title
                                        • Jul 2001
                                        • 59204

                                        #20
                                        Originally posted by MikesTraffic
                                        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.

                                        Comment

                                        • scottybuzz
                                          Too lazy to set a custom title
                                          • May 2006
                                          • 14799

                                          #21
                                          sigspot.
                                          $$$$$ MAKE HUGE MONEY IN CAMS - CLICK HERE $$$$$

                                          Comment

                                          • Deputy Chief Command
                                            Deputy Chief Command
                                            • Nov 2005
                                            • 4482

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

                                            Comment

                                            • Dirty F
                                              Too lazy to set a custom title
                                              • Jul 2001
                                              • 59204

                                              #23
                                              Originally posted by Deputy Chief Command
                                              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

                                              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.

                                              Comment

                                              • Deputy Chief Command
                                                Deputy Chief Command
                                                • Nov 2005
                                                • 4482

                                                #24
                                                ya , Franck , you are right

                                                you never change your story

                                                Comment

                                                • scottybuzz
                                                  Too lazy to set a custom title
                                                  • May 2006
                                                  • 14799

                                                  #25
                                                  sigspot 2
                                                  $$$$$ MAKE HUGE MONEY IN CAMS - CLICK HERE $$$$$

                                                  Comment

                                                  • Dirty F
                                                    Too lazy to set a custom title
                                                    • Jul 2001
                                                    • 59204

                                                    #26
                                                    Originally posted by Deputy Chief Command
                                                    ya , Franck , you are right

                                                    you never change your story


                                                    Ignore ignore and make up some more shit

                                                    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.

                                                    Comment

                                                    • scottybuzz
                                                      Too lazy to set a custom title
                                                      • May 2006
                                                      • 14799

                                                      #27
                                                      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?
                                                      $$$$$ MAKE HUGE MONEY IN CAMS - CLICK HERE $$$$$

                                                      Comment

                                                      • GrouchyAdmin
                                                        Now choke yourself!
                                                        • Apr 2006
                                                        • 12085

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

                                                        Comment

                                                        • Dirty F
                                                          Too lazy to set a custom title
                                                          • Jul 2001
                                                          • 59204

                                                          #29
                                                          Originally posted by BV
                                                          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.
                                                          Last edited by Dirty F; 10-15-2006, 11:43 AM.

                                                          Comment

                                                          • MaddCaz
                                                            Confirmed User
                                                            • Mar 2006
                                                            • 9483

                                                            #30
                                                            I just dont KNOOO!!!!

                                                            BigCocks.com -
                                                            MatureWomen.com -
                                                            Tranny.com -
                                                            DrunkGirls.com -
                                                            TeenGirls.com -
                                                            MonsterCock.com and
                                                            many more... Click
                                                            here to see them all!

                                                            Comment

                                                            Working...