Click here to Skip to main content
11,928,078 members (43,473 online)
Rate this:
Please Sign up or sign in to vote.
how to running Chrome with --allow-file-access-from-files.?????

thanks so much
Posted 10-Sep-12 20:53pm
Edited 10-Sep-12 21:11pm
pradiprenushe 11-Sep-12 2:13am
Seyed Ahmad Mirzaee 11-Sep-12 2:15am
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$(document).ready(function () {

<div id='reader'>Loading ...</div>

This works on Firefox and IE, but on Chrome it replaces the contents of the #reader div with nothing.

Edit: I should add that I'm running this locally, and it's never going to be deployed on a web server.
pradiprenushe 11-Sep-12 2:26am
Your code working fine on my side in chrome also.
Check your chrome version. May be you are using some old version. Upgrade chrome to latest.
Seyed Ahmad Mirzaee 11-Sep-12 2:31am
i search Some WebSites and result:
its told me that:you should running --allow-file-access-from-files
and i dont Know how To Running it!!! :)
pradiprenushe 11-Sep-12 2:37am
Your code is working? Dont need to do anything.It may version specific issue, so upgrade chrome & Let me know what happens.
Seyed Ahmad Mirzaee 11-Sep-12 2:41am
pradiprenushe 11-Sep-12 3:07am
If stil problem exists look for solution below for allow-file-access-from-files
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Stil problem exists then
Search for googleupdate.exe copy path.
Open command promt
execute this command
Path –allow-file-access-from-files
"C:\Program Files\Google\Update\GoogleUpdate.exe" –allow-file-access-from-files
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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
Web04 | 2.8.151126.1 | Last Updated 24 Aug 2013
Copyright © CodeProject, 1999-2015
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