Click here to Skip to main content
13,199,026 members (39,398 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
“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
 
good
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="*"> 
  Permalink  
Comments
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 |
Web01 | 2.8.171020.1 | Last Updated 7 Jul 2012
Copyright © CodeProject, 1999-2017
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