Hi,
I know that I will get a 'Access Denied' if the document inside an iframe is on a different domain. However, is there a way to check if the document is in a different domain?
Basically, I want to do something to the document in the iframe if the document is in my domain, but sometimes there will be documents from other domains in the iframe, in which case I would like to take an alternative action.
Thanks,
Sabretooth
I know that I will get a 'Access Denied' if the document inside an iframe is on a different domain. However, is there a way to check if the document is in a different domain?
Basically, I want to do something to the document in the iframe if the document is in my domain, but sometimes there will be documents from other domains in the iframe, in which case I would like to take an alternative action.
Thanks,
Sabretooth