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)
-   -   Busting out of google images frame? (https://gfy.com/showthread.php?t=692975)

Solid_Jake 01-05-2007 03:24 AM

Busting out of google images frame?
 
How is this done?

Thanks in advance.

BigBen 01-05-2007 03:32 AM

Code:

<script type="text/javascript">
if( window != window.top ) { top.location.href = "http://www.example.com"; }
</script>


Solid_Jake 01-05-2007 03:39 AM

Quote:

Originally Posted by BigBen (Post 11661256)
Code:

<script type="text/javascript">
if( window != window.top ) { top.location.href = ""; }
</script>


That works a treat, thanks!

Solid_Jake 01-05-2007 03:56 AM

If I place that in only the index.php would it work across the entire site?

Solid_Jake 01-05-2007 04:02 AM

Quote:

Originally Posted by Solid_Jake (Post 11661312)
If I place that in only the index.php would it work across the entire site?

I just tried it and obviously not, ok don't worry.

spacedog 01-05-2007 04:04 AM

nevermind.. you have it

tenderobject 01-05-2007 04:18 AM

try putting this in your header

Code:

<script type="text/javascript">
if (parent.frames.length > 0) {parent.location.href = self.document.location;document.location.reload();}
</script>


King of Queens 01-05-2007 04:43 AM

Jake will you hit me on ICQ?
<-----
I need to pay you to do
something for me.


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

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