<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Breaking Out of Frames (Except Google Images)</title>
	<link>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/</link>
	<description></description>
	<pubDate>Thu, 21 Aug 2008 00:02:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: &#187; A Portrait of the Artist as a Young Man &#124; Fine Art Photography Blog</title>
		<link>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-150</link>
		<dc:creator>&#187; A Portrait of the Artist as a Young Man &#124; Fine Art Photography Blog</dc:creator>
		<pubDate>Fri, 21 Dec 2007 07:59:06 +0000</pubDate>
		<guid>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-150</guid>
		<description>[...] his bare hands, his son lost sight and plummeted into the sea. Perhaps the labyrinthine artifice of writing code also relates to this myth? Our hero survived his son not because of his genius, but out of simple [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] his bare hands, his son lost sight and plummeted into the sea. Perhaps the labyrinthine artifice of writing code also relates to this myth? Our hero survived his son not because of his genius, but out of simple [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishi</title>
		<link>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-116</link>
		<dc:creator>Nishi</dc:creator>
		<pubDate>Sun, 04 Nov 2007 20:25:34 +0000</pubDate>
		<guid>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-116</guid>
		<description>This explains all .

Thanks</description>
		<content:encoded><![CDATA[<p>This explains all .</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forrest</title>
		<link>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-44</link>
		<dc:creator>Forrest</dc:creator>
		<pubDate>Thu, 18 Oct 2007 21:24:42 +0000</pubDate>
		<guid>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-44</guid>
		<description>I've tested it against iframes as well as framesets;  that's why there are two if blocks that seem to accomplish the same thing.  First we look at parent.frames.length to see whether the current page is part of a frame set.  Then it checks whether window == top to look for an iframe.

This code when saved as a web page

&#60;html&#62;
&#60;body&#62;
&#60;siframe src="test.html"&#62;&#60;/iframe&#62;
&#60;iframe src="http://forrestcroce.com/Photos/Under-Talapus-Lake.html"&#62;&#60;/iframe&#62;
&#60;/body&#62;
&#60;/html&#62;

"breaks out" of the inline frame and only displays the src in the full browser window.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tested it against iframes as well as framesets;  that&#8217;s why there are two if blocks that seem to accomplish the same thing.  First we look at parent.frames.length to see whether the current page is part of a frame set.  Then it checks whether window == top to look for an iframe.</p>
<p>This code when saved as a web page</p>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;siframe src=&#8221;test.html&#8221;&gt;&lt;/iframe&gt;<br />
&lt;iframe src=&#8221;http://forrestcroce.com/Photos/Under-Talapus-Lake.html&#8221;&gt;&lt;/iframe&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>&#8220;breaks out&#8221; of the inline frame and only displays the src in the full browser window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-39</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 17 Oct 2007 17:03:42 +0000</pubDate>
		<guid>http://blog.exo-brain.com/breaking-out-of-frames-except-google-images/2007-10-16/#comment-39</guid>
		<description>Re 'Breaking out of frames', I wonder if the code you offer indeed works for 'inline' frames. While 'parent.frames.length' will indicate the presence of a parent frame, including inline, due to the protection regarding cross-domain referencing, it does not seem possible to obtain the value of the location.host of the parent for the inline case, except in special instances.

When I install your code, as anticipated, the 'parent.frames[0].location.host' that is reported is that of the inline element rather than the parent.

Perhaps you can shed some additional light on this...

If this is true, then it does not seem possible to selectively bust out of an inline frame.

Thank you.</description>
		<content:encoded><![CDATA[<p>Re &#8216;Breaking out of frames&#8217;, I wonder if the code you offer indeed works for &#8216;inline&#8217; frames. While &#8216;parent.frames.length&#8217; will indicate the presence of a parent frame, including inline, due to the protection regarding cross-domain referencing, it does not seem possible to obtain the value of the location.host of the parent for the inline case, except in special instances.</p>
<p>When I install your code, as anticipated, the &#8216;parent.frames[0].location.host&#8217; that is reported is that of the inline element rather than the parent.</p>
<p>Perhaps you can shed some additional light on this&#8230;</p>
<p>If this is true, then it does not seem possible to selectively bust out of an inline frame.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
