J
jonhoult
Hi folks, I'm trying to access window opener properties for some ad
code. Sometimes the launching page is in a different domain, and i need
my script to recognize this fact and move on to something else without
producing the "permission denied" error for all users to see. i've
already got if(opener){etc.} in there but that still returns as true,
even though we theoretically can't access properties of the opener
which is in another domain.
Can anybody think of any solutions that don't involve ugly active X
objects? I guess what i'm basically looking for is some way of saying
"if permission is denied on this object, don't try to access it's
properties and set to a default value instead".
Thanks
code. Sometimes the launching page is in a different domain, and i need
my script to recognize this fact and move on to something else without
producing the "permission denied" error for all users to see. i've
already got if(opener){etc.} in there but that still returns as true,
even though we theoretically can't access properties of the opener
which is in another domain.
Can anybody think of any solutions that don't involve ugly active X
objects? I guess what i'm basically looking for is some way of saying
"if permission is denied on this object, don't try to access it's
properties and set to a default value instead".
Thanks