## Chrome Browser Develop 1. 关闭浏览器的安全性可以禁用同源策略,解决跨域 2. 跨站点时,允许第三方携带 Cookie ``` # Chrome 92版本(在"目标(Target)"属性中末尾加上) --disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure --disable-web-security --user-data-dir="C:\ChromeDebug" # 92以下 --disable-web-security --user-data-dir="C:\ChromeDebug" 打开chrome 输入 chrome://flags/ 搜索 SameSite by default cookies 找到SameSite by default cookies和Cookies without SameSite must be secure 将上面两项设置为 Disable ``` ``` 目标: "D:\software\Google\Chrome92\Chrome-bin\chrome.exe" --disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure --disable-web-security --user-data-dir="D:\ChromeDebug\92" 起始位置: "D:\software\Google\Chrome92\Chrome-bin" ```