Google Images sends 1 person every 2 seconds to me.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fr0gman
    Confirmed User
    • Feb 2005
    • 2093

    #51
    <?
    $guy = $_SERVER["HTTP_REFERER"];

    if (preg_match ("/search/", $guy)) {
    ?>
    <script>
    if (top.location != location) {
    top.location.href = 'http://yoursite.com' ;
    }

    </script>
    <?php
    }
    ?>

    Page 2... yahooooooo Join www.wetboxbucks.com
    Last edited by fr0gman; 11-22-2006, 11:44 PM.
    Earn up to $.03 per Visitor -> No Click Monetization!
    "Because the World Wide Web is all about two things: horrifyingly stupid psychodrama, and naked chicks."
    Wild College Videos | ICQ: 7746696

    Comment

    • MyNameIsNobody
      Confirmed User
      • Dec 2005
      • 2947

      #52
      Are there any firemen visiting the site?

      MyNameIsNobody - ICQ: 279-601-583

      Comment

      • Nicky
        Too lazy to set a custom title
        • Mar 2003
        • 30071

        #53
        Originally posted by fr0gman
        <?
        $guy = $_SERVER["HTTP_REFERER"];

        if (preg_match ("/search/", $guy)) {
        ?>
        <script>
        if (top.location != location) {
        top.location.href = 'http://yoursite.com' ;
        }

        </script>
        <?php
        }
        ?>

        Page 2... yahooooooo Join www.wetboxbucks.com
        I've always been bad on the scripting, so where do I put this? In a text file in the img folders or on my domain roots index, or on all my html pages?

        gfynicky @ gmail.com

        Comment

        • SmokeyTheBear
          ►SouthOfHeaven
          • Jun 2004
          • 28609

          #54
          Originally posted by Nicky
          I've always been bad on the scripting, so where do I put this? In a text file in the img folders or on my domain roots index, or on all my html pages?
          i think this should work for javascript , just put it in your head ( i havent tested it but try it and see )

          Code:
          <script language="Javascript">
          var myRegExp = /google/;
          var string1 = document.referrer;
          var matchPos1 = string1.search(myRegExp);
          
          if(matchPos1 != -1)
          	top.location="http://yoursite.com"; 
          
          </script>
          hatisblack at yahoo.com

          Comment

          • X37375787

            #55
            Originally posted by fr0gman
            <?
            $guy = $_SERVER["HTTP_REFERER"];

            if (preg_match ("/search/", $guy)) {
            ?>
            <script>
            if (top.location != location) {
            top.location.href = 'http://yoursite.com' ;
            }

            </script>
            <?php
            }
            ?>

            Page 2... yahooooooo Join www.wetboxbucks.com

            Nice, I always used a non-conditional frame breaker, which got really lame at times, especially when working with iframe previews.

            Thanks!

            Comment

            • Nicky
              Too lazy to set a custom title
              • Mar 2003
              • 30071

              #56
              Originally posted by SmokeyTheBear
              i think this should work for javascript , just put it in your head ( i havent tested it but try it and see )

              Code:
              <script language="Javascript">
              var myRegExp = /google/;
              var string1 = document.referrer;
              var matchPos1 = string1.search(myRegExp);
              
              if(matchPos1 != -1)
              	top.location="http://yoursite.com"; 
              
              </script>
              Thanks, and this would be in the head tag of the html page with the thumbnails?

              gfynicky @ gmail.com

              Comment

              • djroof
                JuicyDevils.gr Owner
                • Jan 2004
                • 25514

                #57
                Great man!

                Comment

                • V_RocKs
                  Damn Right I Kiss Ass!
                  • Nov 2003
                  • 32467

                  #58
                  Are these people looking for images of porn or shit like suitcases, sunglasses, mainstream?

                  Comment

                  Working...