yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

Website script don't work in local filesystem. #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
All the client html files have the below script that doesn't load the files 
from local system,
 <script type="text/javascript">
            var lFrameElem = this.frameElement;
            if( !lFrameElem ) {
                location.replace( "../../index.htm?page=demos/rpc_rrpc/rpc_rrpc.htm" );
            }
        </script>
We should probably get this from another environment variable or property.
It works for Firefox but not e.g. for chrome.

Original issue reported on code.google.com by fivefeetfurther@gmail.com on 16 Jun 2010 at 1:57

GoogleCodeExporter commented 8 years ago
While testing locally, users can delete the above script and reload the page

Original comment by galianur...@gmail.com on 16 Jun 2010 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by fivefeetfurther@gmail.com on 14 Oct 2010 at 2:27