diff options
author | Hiroshi Ichikawa <gimite@gmail.com> | 2010-08-03 23:10:48 +0900 |
---|---|---|
committer | Hiroshi Ichikawa <gimite@gmail.com> | 2010-08-03 23:10:48 +0900 |
commit | 911d92c873135a4193bb89eb31493507b13d72e8 (patch) | |
tree | c575e8fb95e2baa3d1723c823044eea554f41161 | |
parent | ad3626b2c488b5ec9d52933550bc4d56881741b9 (diff) | |
download | web-socket-js-911d92c873135a4193bb89eb31493507b13d72e8.tar.gz |
Adding 'WARNING:' to warning message for file:///...
-rwxr-xr-x | web_socket.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_socket.js b/web_socket.js index fce847e..945dae8 100755 --- a/web_socket.js +++ b/web_socket.js @@ -14,10 +14,10 @@ console.error("Flash Player is not installed."); return; } - console.log(location.protocol); if (location.protocol == "file:") { console.error( - "web-socket-js doesn't work in file:///... URL (without special configuration). " + + "WARNING: web-socket-js doesn't work in file:///... URL " + + "unless you set Flash Security Settings properly. " + "Open the page via Web server i.e. http://..."); } |