![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Guest
Posts: n/a
|
![]() 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! |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,115
|
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] ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Holy shit bro, that's some nice work. I'll give it a spin!
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2003
Posts: 22,651
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,115
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Guest
Posts: n/a
|
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2003
Posts: 11,089
|
Quote:
__________________
... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Oct 2005
Location: Baltimore,Md
Posts: 2,114
|
Code:
<SCRIPT LANGUAGE=JavaScript> <!-- if (top.frames.length!=0) top.location=self.document.location; // --> </SCRIPT>
__________________
Carmen Cocks Rocks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
mmm yeah!
Industry Role:
Join Date: Feb 2005
Location: roseville, ca
Posts: 5,061
|
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Posts: 10,592
|
(? removeGoogleFrame(); ?)
__________________
![]() ![]() ![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Jan 2006
Location: Canada
Posts: 5,024
|
Very sexy, fuzey. Thanks for the code
![]() Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2003
Posts: 22,651
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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 } ?>
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
Quote:
thanks ![]()
__________________
Make Money
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |