Test browser: Version of Chrome: 52.0.2743.116
It is a simple javascript that is to open an image file from local like \'C:\\002.jpg\'
function run(
There is a workaround using Web Server for Chrome.
Here are the steps:
Now easily access your local file:
function run(){
// 8887 is the port number you have launched your serve
var URL = "http://127.0.0.1:8887/002.jpg";
window.open(URL, null);
}
run();
PS: You might need to select the CORS Header option from advanced setting incase you face any cross origin access error.