Click here to Skip to main content
15,885,910 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
hi how to running Chrome with --allow-file-access-from-files.?????

thanks so much
Posted
Updated 10-Sep-12 20:11pm
v3
Comments
pradiprenushe 11-Sep-12 2:13am    
Means?
Seyed Ahmad Mirzaee 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 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.

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
 
Share this answer
 
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900