Недавние ответы в I want to load a local file with "new XMLHttpRequest();". The page works in Chrome with the extension "chrome.exe --allow-file-access-from-files" but no in Firehttps://support.mozilla.org/ru/questions/9352142012-08-22T05:32:15-07:00I need to develop an aplication for create and deform 3D object. And I only found a library in JavaS2012-08-22T05:32:15-07:00arcadihttps://support.mozilla.org/ru/questions/935214#answer-362114<p>I need to develop an aplication for create and deform 3D object. And I only found a library in JavaScript and It works.
</p><p>The problem is that I need to send the positions of the objects (X, Y, Z) by a external aplication build in C++.
</p><p>This external aplication make a .txt file with the parametres every 500ms, and the local webpage needs to read this file.
</p><p>For this razon I have allow this security polices.
</p><p>A lot of thanks.
</p>see if this is helpful :
Using XMLHttpRequest
https://developer.mozilla.org/en-US/docs/DOM/XMLH2012-08-22T05:31:58-07:00ideatohttps://support.mozilla.org/ru/questions/935214#answer-362112<p>see if this is helpful&nbsp;:
</p><p><a href="https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest" rel="nofollow">Using XMLHttpRequest</a>
</p><p><a href="https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#open" rel="nofollow">https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#open</a>
</p><p><br>
thank you
</p>Firefox security policies may noy allow for safety reasons to execute local JS code on your computer2012-08-22T05:25:39-07:00marcsanceshttps://support.mozilla.org/ru/questions/935214#answer-362107<p>Firefox security policies may noy allow for safety reasons to execute local JS code on your computer from a file.
</p><p>Why you'd need that anyway? If you want it to work maybe you should think uploading it to a server.
</p>