相关链接:https://*.com/questions/3102819/disable-same-origin-policy-in-chrome
https://*.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame
干货:直接明
chromium-browser --disable-web-security --user-data-dir
For Windows:
|
Before Chrome 48, you could just use:
chromium-browser --disable-web-security
awesome thanks. thanks to this, I've been able to launch a webpage as an independent application
"C:\..\chrome.exe" --disable-web-security --user-agent="Android" --user-data-dir="C:/temp-chrome-eng" --app="file:///C:/apps/index.html" – Elvis Ciotti Nov 14 '13 at 13:46
|
For Windows... create a Chrome shortcut on your desktop.
et voilà :) |