Re: How to prevent JavaScript from executing in an iframe
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: How to prevent JavaScript from executing in an iframe

From: seans <seanss01@yahoo.com>
Date: Wed Aug 31 2005 - 16:34:00 CEST

Richard Cornford wrote:
> seans wrote:
> > Is there some way from preventing the JavaScript code
> > in a document loaded into an iframe from executing?
>
> Disable javascript in your browser, or configure the browser to ask for
> permission to execute each script, and deny it for the scripts in the
> frames. If you mean that you want to prevent the execution of these
> scripts on other user's browsers then you cannot, it is up to them to
> make that decision.
>
> > I don't have access to the pages being loaded
> > into the i-frame so I can't modify then.
>
> Does this mean they are someone else's pages?
>
> > They are being loaded from a server.
>
> Now that is a novel idea :)
>
> Richard.

Hi Richard thanks for your reply. Yes they are somebody else's pages so
I can't make any changes to them.

thanks
sean
Received on Tue Oct 18 03:15:12 2005