0

I have this error while running a html file in Chrome:

iframe Unsafe JavaScript attempt to access frame with URL http‍://my_server.com/param from frame with URL http‍://another_server/example.html. Domains, protocols and ports must match.

Is there a way so I can run the Javascript in different server?

Brian Tompsett - 汤莱恩
  • 5,438
  • 68
  • 55
  • 126
Mayfield Four
  • 95
  • 3
  • 9

1 Answers1

0

You need to change the hash not the url itself. There are many similar questions in stackoverflow regarding this issue. You can try check this out.

Community
  • 1
  • 1
Raja Asthana
  • 2,020
  • 2
  • 16
  • 33