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.