7

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 ?

Soham Nakhare
  • 425
  • 4
  • 18

3 Answers3

11

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
Soham Nakhare
  • 425
  • 4
  • 18
  • 1
    This only seems to work if I also opt out of the following setting chrome://flags/#site-isolation-trial-opt-out But I cannot find a command-line equivalent option for this. Any ideas? Using v66.0.3359.170 of chrome. – Glenn May 11 '18 at 01:46
  • This workaround worked for me with Chrome 66.0.3359.139 – KlsLondon May 16 '18 at 14:34
  • Same problem as @Glenn with `66.0.3359.181 (Official Build) (64-bit)` – t.j. May 26 '18 at 08:20
  • Works with `70.0.3538.110 (Official Build) (64-bit)`. Thank you! – Kon Jan 16 '19 at 16:33
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

Robin Whittleton
  • 6,159
  • 4
  • 40
  • 67
Glenn
  • 688
  • 10
  • 16
1

Simply add

--disable-site-isolation-trials

This works in Chrome 68.

David Vielhuber
  • 3,253
  • 3
  • 29
  • 34