0

I have a site with an iframe having a source url which is provided by my client. I need to resolve an alignment issue inside that iframe, when I try to achieve it through script since there is everything different in that iframe src (domain,host,port) I was blocked by cross-site scripting issue and since it is an url from my client I don't have access to include anything in it.

EDIT: I like to say that I have already tried

  • post message
  • document.domain
  • crossdomain option in jquery

Post message option and document.domain option wants me to include some scripts in the frames target URL, which is not possible in my case since I don't have access to it.

Jquery Ajax cross domain is a one is only for domain(http,https), which is not my case, everything is different here.

The link pointed out as duplicate also I have tried already, the second one seems to be close but it won't go beyond cross site script issue. I am not sure the accepted answer(YOU CAN'T) here is the final one.

Community
  • 1
  • 1

0 Answers0