zackexplosion / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 0 forks source link

iframe 'unsafe javascript attempt' at lines 201 and 579 #661

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

When used in an iframe, where the contents of the iframe are on a different 
domain, I'm getting 'unsafe javascript attempts' at lines 201 and 579 (I get 2 
unsafe messages with the uncompressed swfobject library on the same line...).

The lines causing the problem are:
if (typeof t.GetVariable != UNDEF) {

and
getElementById(id).style.visibility = v;

I've attached my php file if that helps.  Afraid I have little say on what 
happens outside the iframe as that is in control my Amazon's mechanical Turk.

My swf loads fine and I don't think these errors have side effects as of yet.

Thought I should just let you know.

cheers,
Andy.

Original issue reported on code.google.com by andytwo...@gmail.com on 4 Apr 2013 at 7:08

Attachments: