Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #12744

IFrame question

From Bwig Zomberi <zomberi@gmail.com>
Newsgroups comp.lang.javascript
Subject IFrame question
Date 2012-03-15 10:57 +0530
Organization Aioe.org NNTP Server
Message-ID <jjruao$3ke$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hi,

If I try to load an external website in an IFRAME, I get a security
error.

Google Images also use IFRAMEs and load content from external websites. 
YouTube embed codes also use IFRAMEs. They do not seem to run into any 
security errors.

When I use Javascript or HTML SRC attribute, I run into security errors.

Can the group shed some light to this problem.

<html>
  <head>
   <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  </head>
  <body>
      <iframe src="http://www.google.com/search?q=hello+world"
              style="width: 95%; height: 900px; "></iframe>
  </body>
</html>



-- 
Zomberi

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

IFrame question Bwig Zomberi <zomberi@gmail.com> - 2012-03-15 10:57 +0530
  Re: IFrame question David Mark <dmark.cinsoft@gmail.com> - 2012-03-15 01:34 -0700
    Re: IFrame question Bwig Zomberi <zomberi@gmail.com> - 2012-03-15 16:30 +0530
  Re: IFrame question Bart Van der Donck <bart@nijlen.com> - 2012-03-15 01:37 -0700
    Re: IFrame question Bwig Zomberi <zomberi@gmail.com> - 2012-03-15 16:27 +0530

csiph-web