The command --disable-web-security
to allow for cross domain requests on Chrome is no longer working, I presume due to the latest update.
Is there a workaround for this, besides downloading an older version of chrome and disabling updates?
Might as well ask in the same question, the javascript snippet suggested to turn off web security in Firefox never works for me:
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
} catch (e) {
alert("UniversalBrowserRead failed");
}
The page always alerts UniversalBrowserRead failed
.
Kill all instances and try again. Had the same problem today and after I killed chrome it works.
Open the task manager in your laptop or computer and try to kill all the existing chrome* instances in you system and run the shortcut with "\Google\Chrome\Application\chrome.exe --disable-web-security"
It always resets when you restart the laptop or computer so, you may need to do this step when you re-start the system.
extend disable web security command with --user-data-dir. This worked for me, more details are on >https://bugs.chromium.org/p/chromium/issues/detail?id=575690
Command I use in windows :
"C:\Users\Public\Desktop\Google Chrome.lnk" --disable-web-security --user-data-dir