website widget

  • 1
  • Problem
  • Updated 4 years ago
  • Not a Problem
does any one know how to resolve "Uncaught SecurityError: Blocked a frame with origin "http://192.168.15.4" from accessing a frame with origin "http://preview.risevision.com". Protocols, domains, and ports must match."
Photo of Luis Coimbra

Luis Coimbra

  • 570 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Luis,

I'm not sure if you'd be able to. Check out this Stack Overflow article: http://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing...
Photo of Luis Coimbra

Luis Coimbra

  • 570 Points 500 badge 2x thumb
this one points to a solution, but dont know where to put the code, or maybe is on yor side :)
"One way to do this is put your code in server side:
response.addHeader("Access-Control-Allow-Origin", "*");// To allow all domains"
http://stackoverflow.com/questions/21720752/where-to-write-access-control-allow-origin-or-origin
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Luis,

This would be something that you would need to add to the website that you are trying to display.