Solution 2. This really serious limitation of Chrome is since like always.
google-chrome --disable-web-security. "C:\Program Files\Google\Update\GoogleUpdate.exe" –allow-file-access-from-files Permalink Posted 10-Sep-12 21:06pm. With Chrome 7, starting the application with --allow-file-access-from-files option, allows to call canvas.toDataURL() from local files. The real problem is that Chrome, unlike other browsers, doesn't seem to have any reasonable way to handle file extension associations. I am surprised that your answer was downvoted.
pradiprenushe. REM runs chrome to view index.html in currend directory, with local file access allowed start chrome.exe " %cd% /index.html " --allow-file-access-from-files Sign up for free to … Question: How / Where do I set the "allow-file-access-from-files" configuration option in Microsoft Edge? [Others] Personal information is not collected / used. If you need access to local files for dev purposes like AJAX or JSON, you can use -–allow-file-access-from-files flag.
The different modes like --allow-file-access-from-files are flags/switches and not meant for general users. C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe --allow-file-access-from-files Sunday, October 25, 2015 7:25 PM Reply
Rate this: Please Sign up or sign in to vote. The purpose of these switches/argument is to provide choice. The problem, though, is that using the methods listed above only allow you to open a limited range of file formats. Since Chrome 22+ you will get an error message that says: You are using an unsupported command-line flag: --disable-web-security. Open Any Local File From Chrome.
If you click a file that Chrome doesn’t know how to open, it will instead “download” it to your designated downloads directory.
All it can do is to download a file it cannot understand. It worked very well for me on local files with the latest Chrome version. <
So you can't change it permanently with regular builds. – Waruyama Mar … Local Explorer is a Chrome extension that enables you to open any file on … Stability and security will suffer. These flags are neither supported nor recommended and must be used as temporary. However, it seems that starting the Chrome Beta 8 with the same option (--allow-file-access-from-files) does not allow the call canvas.toDataURL() on the local file. In Google Chrome, links to local files are disabled, unlike IE. This thread is locked. This extension allows you to open a link to a local file by clicking it. ItsAllABadJoke ItsAllABadJoke.
Audio files, for example, cannot be opened using this method. how to running Chrome with --allow-file-access-from-files. ... Open command promt execute this command Path –allow-file-access-from-files e.g. [Security] A malicious page can not open a local file without permission, because this extension reacts only to the click operation by the user. 129 2 2 silver badges 4 4 bronze badges.
You can follow the question …
Source code is released to GitHub (see "Website" link). Remark.