Important notice when using xServer js samples with Chrome
Posted: Thu Apr 05, 2018 9:49 am
Hi all,
With the latest Chrome v65 you cannot run the samples from GitHub or CodeSampleBrowser directly by just opening the html file anymore! Chrome now doesn't support ajax request from local files. Read the discussion here:
https://developers.google.com/web/updates/2018/03/nic65
You now must either load the file from a web server or start chrome with the parameter
Or just use Firefox or Edge
To start the html/js as web application, you can register the folder at your IIS or use Python with
This applies to all samples at GitHub or CodeSampleBrowser. I will document this for the GitHub samples.
Oli
With the latest Chrome v65 you cannot run the samples from GitHub or CodeSampleBrowser directly by just opening the html file anymore! Chrome now doesn't support ajax request from local files. Read the discussion here:
https://developers.google.com/web/updates/2018/03/nic65
You now must either load the file from a web server or start chrome with the parameter
Code: Select all
--allow-file-access-from-files
Or just use Firefox or Edge
To start the html/js as web application, you can register the folder at your IIS or use Python with
Code: Select all
python -m SimpleHTTPServer 8000
Oli