I have 2 files: file.html
on my desktop, and local.html
on my localhost. Is it possible to let the file access the localhost? Currently, I have this error on Chrome:
Uncaught SecurityError: Blocked a frame with origin "null" from accessing a frame with origin "http://localhost". The frame requesting access has a protocol of "file", the frame being accessed has a protocol of "http". Protocols must match.
A .htaccess solution is prefered, but Header set Access-Control-Allow-Origin *
does not work.