الثلاثاء، 22 ديسمبر 2015

Google Chrome browser error:xmlhttprequest cannot load is not allowed by access-control-allow-origin

In that case you can change the security policy in your Google Chrome browser to allow Access-Control-Allow-Origin. This is very simple:
  1. Create a Chrome browser shortcut
  2. Right click short cut icon -> Properties -> Shortcut -> Target
Simple paste in "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files --disable-web-security.