Chrome Version 66 : Blocked current origin from receiving cross-site document at

匿名 (未验证) 提交于 2019-12-03 01:16:02

问题:

On my local machine i have been using --disable-web-security --user-data-dir to disable the web security. After upgrading to Chrome Version 66 i have started getting Blocked current origin from receiving cross-site document at ... warning. How to disable the web security for this version of chrome ?

回答1:

Found a workaround mentioned in https://www.chromium.org/Home/chromium-security/site-isolation

C:\Program Files (x86)\Google\Chrome\Application>chrome.exe --disable-web-securi ty --user-data-dir --disable-features=CrossSiteDocumentBlockingIfIsolating 


回答2:

This has apparently been fixed in Chrome 67. You can find the bug I reported and a workaround here. The command-line workaround requires you to start Chrome with the following argument:

--disable-features=CrossSiteDocumentBlockingIfIsolating,CrossSiteDocumentBlockingAlways



回答3:

Simply add

--disable-site-isolation-trials

This works in Chrome 68.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!