2013-05-02, 19:41
Livin,
I think what you are seeing is the browser is stopping the user-defined command from being sent since it would be sending the request across two different domains (webservers). This is generally blocked by the browser when javascript is being used.
Interestingly using Microsoft Visual Studio Express I use to develop the javascript will let you do this if the starting webserver is on localhost.
For my home control system I use chrome with security turned off (That instance of chrome is only used to communicate with webservers in my network, NOT the internet). Here's the command I use
This should enable you to send 'User-Defined' commands.
Note: Do NOT use a browser to surf the internet with security turned off, or degraded. Bad things may happen.
Regards,
Kabooga
I think what you are seeing is the browser is stopping the user-defined command from being sent since it would be sending the request across two different domains (webservers). This is generally blocked by the browser when javascript is being used.
Interestingly using Microsoft Visual Studio Express I use to develop the javascript will let you do this if the starting webserver is on localhost.
For my home control system I use chrome with security turned off (That instance of chrome is only used to communicate with webservers in my network, NOT the internet). Here's the command I use
Quote:chrome.exe --disable-web-security
This should enable you to send 'User-Defined' commands.
Note: Do NOT use a browser to surf the internet with security turned off, or degraded. Bad things may happen.
Regards,
Kabooga