Google Images codes to break the fuckin frame!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    Google Images codes to break the fuckin frame!

    I am getting so much fuckin google/askjeeves/msn images traffic, and it is ANNOYING!

    I saw a thread a few days ago where someone did it via htaccess and a .php page

    what options have you all found that worked good, and since the search barely works, does anyone have a link to that other thread?
  • mikeyddddd
    Viva la vulva!
    • Mar 2003
    • 16557

    #2
    I just use this javascript on my pages:

    if (window != top) top.location.href = location.href;

    It breaks the frame.

    Or are you looking for something to not display the image?
    Last edited by mikeyddddd; 04-12-2007, 11:10 AM.

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      Originally posted by mikeyddddd
      I just use this javascript on my pages:

      if (window != top) top.location.href = location.href;
      what if the image is 404? then that will just break the frame and throw them on the 404 page, right?

      Comment

      • mikeyddddd
        Viva la vulva!
        • Mar 2003
        • 16557

        #4
        Originally posted by Jace
        what if the image is 404? then that will just break the frame and throw them on the 404 page, right?
        You could do something like this in the .htaccess for the image folder:

        RewriteCond %{HTTP_REFERER} !^http://(www\.)?YOURDOMAIN(/)?.*$ [NC]
        RewriteRule /* /path-to/redirect.php [NC]

        In redirect.php:

        header("Location: your_url");

        Comment

        • Jace
          FBOP Class Of 2013
          • Jan 2004
          • 35562

          #5
          Originally posted by mikeyddddd
          You could do something like this in the .htaccess for the image folder:

          RewriteCond %{HTTP_REFERER} !^http://(www\.)?YOURDOMAIN(/)?.*$ [NC]
          RewriteRule /* /path-to/redirect.php [NC]

          In redirect.php:

          header("Location: your_url");
          most of the images that they are looking for were hosted elsewhere, from rss feeds

          Comment

          Working...