On Windows:
"...chrome.exe" --allow-file-access-from-files
or
"...chrome.exe" --allow-file-access-from-files --disable-web-security
On Mac:
open /Applications/Google Chrome.app/ --args --allow-file-access-from-files
On Windows:
"...chrome.exe" --allow-file-access-from-files
or
"...chrome.exe" --allow-file-access-from-files --disable-web-security
On Mac:
open /Applications/Google Chrome.app/ --args --allow-file-access-from-files
转载于:https://www.cnblogs.com/xiezhe/p/4810439.html