Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
hi
how to running Chrome with --allow-file-access-from-files.?????
 
thanks so much
Posted 10-Sep-12 19:53pm
Edited 10-Sep-12 20:11pm
v3
Comments
pradiprenushe at 11-Sep-12 2:13am
   
Means?
Seyed Ahmad Mirzaee at 11-Sep-12 2:15am
   
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#reader').load('test.htm');
});
</script>
 
</head>
<body>
<div id='reader'>Loading ...</div>
</body>
</html>
 
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 at 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 at 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 at 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 at 11-Sep-12 2:41am
   
Thanks
pradiprenushe at 11-Sep-12 3:07am
   
If stil problem exists look for solution below for allow-file-access-from-files
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
good
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
e.g.
"C:\Program Files\Google\Update\GoogleUpdate.exe" –allow-file-access-from-files
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 380
1 Gihan Liyanage 198
2 Sergey Alexandrovich Kryukov 150
3 ChauhanAjay 120
4 BotCar 105
0 Sergey Alexandrovich Kryukov 9,056
1 OriginalGriff 7,981
2 CPallini 2,613
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 24 Aug 2013
Copyright © CodeProject, 1999-2014
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