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)
-   -   Google Images codes to break the fuckin frame! (https://gfy.com/showthread.php?t=723558)

Jace 04-12-2007 12:03 PM

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 04-12-2007 12:08 PM

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?

Jace 04-12-2007 12:10 PM

Quote:

Originally Posted by mikeyddddd (Post 12242908)
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?

mikeyddddd 04-12-2007 12:22 PM

Quote:

Originally Posted by Jace (Post 12242922)
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");

Jace 04-12-2007 12:28 PM

Quote:

Originally Posted by mikeyddddd (Post 12243037)
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


All times are GMT -7. The time now is 05:02 PM.

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