将下列代码复制到一个bat文件,双击打开即可。
echo "把这个脚本中的谷歌路径换成你自己电脑的谷歌浏览器所在路径"
echo off
start /d "C:\Program Files (x86)\Google\Chrome\Application" chrome.exe --allow-file-access-from-files --user-data-dir="C:/Chrome dev session" --disable-web-security
将下列代码复制到一个bat文件,双击打开即可。
echo "把这个脚本中的谷歌路径换成你自己电脑的谷歌浏览器所在路径"
echo off
start /d "C:\Program Files (x86)\Google\Chrome\Application" chrome.exe --allow-file-access-from-files --user-data-dir="C:/Chrome dev session" --disable-web-security