Click here to Skip to main content
12,549,720 members (49,490 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript chrome
“Origin null is not allowed by Access-Control-Allow-Origin” in Chrome. Why?
i googled a lot to get a solution for that,but unable to implement the solution.

plz help me. how to implement --allow-file-access-from-files in chrome?
Posted 7-Jul-12 7:57am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Run your Chrome instance with and see:
chrome.exe --allow-file-access-from-files

Or try putting this is your file:
<meta http-equiv="Access-Control-Allow-Origin" content="*"> 
Sanjeev236 7-Jul-12 15:11pm
how to run chrome.exe --allow-file-access-from-files?
on Command prompt?
<meta http-equiv="Access-Control-Allow-Origin" content="*"> didn't work for me.
Sandeep Mewara 8-Jul-12 1:51am
Yes command prompt.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161021.1 | Last Updated 7 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100