Reputation: 863
We have been using the following to open Google Crome without a Cross-Origin limitation for debug purposes for some time. Yesterday it stopped working on all of our Windows computers.
chrome.exe https://"www.testsite.com" --disable-web-security --user-data-dir="d:/tempchromedata"
Current version of Chrome is Version 70.0.3538.77 (Official Build) (64-bit)
Upvotes: 6
Views: 8871
Reputation: 176
thanks Thomas Mulder, best comment ever
for me, to allow javascript to access content in iframe of different origin, with Chromium Version 109.0.5414.119 (Official Build) built on Debian 11.6, running on Debian 11.4 (64-bit):
chromium --disable-web-security --user-data-dir=$HOME/tmp/user-data --disable-site-isolation-trials
... worked, I needed all three options. The javascript was in a file://xxx.html (and gets "null" origin); the iframe within xxx.html had a "http://localhost:8383" origin in my particular case.
Upvotes: 0
Reputation: 863
Apparently if you add the following it works --disable-site-isolation-trials
Upvotes: 3