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)
-   -   G image search frame breaker code (https://gfy.com/showthread.php?t=722561)

X37375787 04-09-2007 12:30 PM

G image search frame breaker code
 
I'm looking for a G image search frame breaker code that is not generic, got plenty of those. I always run into problems with WordPress' post preview that gets fucked up when I load the generic code, I know someone's gotta have a G-specific one handy.

Merci!

fuzebox 04-09-2007 01:08 PM

I wrote this for my domains, better than just using frame breaking code imo.

1) Create a file in your root called googleimages.php:

<html><head><title>Loading Site...</title>
<script language="Javascript">
<!--
if (top.location != location) top.location.href = 'http://<? print $_SERVER["SERVER_NAME"] . $url;?>';
//-->
</script>
</head>
<body><center><a target=_top href="http://<? print $_SERVER["SERVER_NAME"] . $url; ?>">Click Here To Load The Site</a></center>
</body></html>

2) Stick this in your .htaccess:

RewriteEngine On
RewriteCond &#37;{HTTP_REFERER} ^http://images.google
RewriteCond %{REQUEST_URI} !googleimages.php
RewriteCond %{REQUEST_URI} (.*)
RewriteRule /* /googleimages.php?url=%1 [R,L]


:)

X37375787 04-09-2007 01:15 PM

Holy shit bro, that's some nice work. I'll give it a spin!

JD 04-10-2007 12:52 PM

Quote:

Originally Posted by Equinox (Post 12226482)
Holy shit bro, that's some nice work. I'll give it a spin!

just tried it and it works great! hit me up to see it in action ;)

fuzebox 04-10-2007 02:19 PM

Quote:

Originally Posted by SPeRMiNaToR (Post 12232220)
just tried it and it works great! hit me up to see it in action ;)

No thank you?


:(

X37375787 04-10-2007 02:20 PM

Quote:

Originally Posted by SPeRMiNaToR (Post 12232220)
just tried it and it works great! hit me up to see it in action ;)

Shoot me a msg once icq is back. 155421 Thanks

NinjaSteve 04-10-2007 02:20 PM

Quote:

Originally Posted by fuzebox (Post 12226438)
I wrote this for my domains, better than just using frame breaking code imo.

1) Create a file in your root called googleimages.php:

<html><head><title>Loading Site...</title>
<script language="Javascript">
<!--
if (top.location != location) top.location.href = 'http://<? print $_SERVER["SERVER_NAME"] . $url;?>';
//-->
</script>
</head>
<body><center><a target=_top href="http://<? print $_SERVER["SERVER_NAME"] . $url; ?>">Click Here To Load The Site</a></center>
</body></html>

2) Stick this in your .htaccess:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://images.google
RewriteCond %{REQUEST_URI} !googleimages.php
RewriteCond %{REQUEST_URI} (.*)
RewriteRule /* /googleimages.php?url=%1 [R,L]


:)

I <3 you in a not so gay way.

dakota1358 04-10-2007 03:30 PM

Code:

<SCRIPT LANGUAGE=JavaScript>
<!--
  if (top.frames.length!=0)
  top.location=self.document.location;
// -->
</SCRIPT>

Stick that in your <head> section

dynastoned 04-10-2007 03:38 PM

I use this on my pages..

Code:

<script language="JavaScript1.1" type="text/JavaScript">if (parent.frames.length
> 0) top.location.replace(document.location);</script>


Voodoo 04-10-2007 03:39 PM

(? removeGoogleFrame(); ?)

KrisKross 04-10-2007 06:26 PM

Very sexy, fuzey. Thanks for the code :thumbsup

Quote:

Originally Posted by fuzebox (Post 12226438)
I wrote this for my domains, better than just using frame breaking code imo.

1) Create a file in your root called googleimages.php:

<html><head><title>Loading Site...</title>
<script language="Javascript">
<!--
if (top.location != location) top.location.href = 'http://<? print $_SERVER["SERVER_NAME"] . $url;?>';
//-->
</script>
</head>
<body><center><a target=_top href="http://<? print $_SERVER["SERVER_NAME"] . $url; ?>">Click Here To Load The Site</a></center>
</body></html>

2) Stick this in your .htaccess:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://images.google
RewriteCond %{REQUEST_URI} !googleimages.php
RewriteCond %{REQUEST_URI} (.*)
RewriteRule /* /googleimages.php?url=%1 [R,L]


:)


JD 04-10-2007 06:30 PM

Quote:

Originally Posted by fuzebox (Post 12232603)
No thank you?


:(


thanks you sexy retired php ninja you :wetkiss

SmokeyTheBear 04-10-2007 08:02 PM

php version

<?php
$redir = "http://redirect.com/";
$ref = $_SERVER["HTTP_REFERER"];
if (preg_match ("/google/", $ref)) {
?>

<script>

top.location.href = '<?php echo $redir; ?>' ;


</script>
<?php
}
?>

martinsc 04-10-2007 08:07 PM

Quote:

Originally Posted by fuzebox (Post 12226438)
I wrote this for my domains, better than just using frame breaking code imo.

1) Create a file in your root called googleimages.php:

<html><head><title>Loading Site...</title>
<script language="Javascript">
<!--
if (top.location != location) top.location.href = 'http://<? print $_SERVER["SERVER_NAME"] . $url;?>';
//-->
</script>
</head>
<body><center><a target=_top href="http://<? print $_SERVER["SERVER_NAME"] . $url; ?>">Click Here To Load The Site</a></center>
</body></html>

2) Stick this in your .htaccess:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://images.google
RewriteCond %{REQUEST_URI} !googleimages.php
RewriteCond %{REQUEST_URI} (.*)
RewriteRule /* /googleimages.php?url=%1 [R,L]


:)


thanks :thumbsup


All times are GMT -7. The time now is 04:33 PM.

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