I am writing a local HTML5 application for processing some scientific images. I am on OS X, and I specifically write it in JavaScript / HTML5 for portability, to demonstrate it to my supervisor on a Windows machine. This application will never be deployed to the server.
The problem is that it works fine on Safari on OS X, but on Windows it causes a security error in both Firefox and Chrome. I think this is due to the fact that he thinks the image is in a different domain, but in fact it is in the same folder as the script.
Is there any way around this?
The error in question is the same as here:
Unfixed error: SECURITY_ERR: DOM 18 exception when I try to set a cookie
Edit: I have to clarify, the answer to the question that I connected (running it on a local server) is impossible, because I cannot go and install any software (or servers!) On these machines. The reason I hope for an alternative answer is because it works on OS X.
javascript security html5 canvas
Matthew
source share