一、浏览器设置跨域
1、复制一个浏览器
2、右键-属性-在目标栏追加 --disable-web-security --user-data-dir=C:\MyChromeDevUserData
注意:–前有一个空格,确保该文件夹存在C:\MyChromeDevUserData。
二、浏览器控制台报错
Error saving setting with name: consoleHistory, value length: 5549354. Error: Failed to set the
'consoleHistory' property on 'Storage': Setting the value of 'consoleHistory' exceeded the quota.
原因:
我经常在控制台写一些代码,执行console语句,导致consoleHistory太大了。
参考文章:
https://stackoverflow.com/questions/21149156/how-to-remove-all-recent-console-command/21149275
操作步骤:
打开控制台,右键-clear console history,即可。
三、设置程序默认值-默认浏览器打开