Page 1 of 1

Important notice when using xServer js samples with Chrome

Posted: Thu Apr 05, 2018 9:49 am
by Oliver Heilig
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

Code: Select all

--allow-file-access-from-files

Or just use Firefox or Edge :D

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
This applies to all samples at GitHub or CodeSampleBrowser. I will document this for the GitHub samples.

Oli

Re: Important notice when using xServer js samples with Chro

Posted: Tue Aug 28, 2018 4:12 pm
by Oliver Heilig
All-Clear! The Lastest Chrome releases (> v66) reverted this behavior.

Oli