I'm trying to do a simple test without changing any server-side code involving a cross-domain AJAX call, and I was wondering if it's possible to use --disable-web-security
anymore. It seems to not work on Chrome 28.
I haven't used it since Chrome version 21; has this feature been dropped?
It cancels all of the cross origin blockage, you can XMLHttpRequest or fetch any URL, for example. You received this message because you are subscribed to the Google Groups "Chromium-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu... @chromium.org.
Just do follow steps: Right click on desktop, add new shortcut. Add the target as "[PATH_TO_CHROME]\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp. Click OK.
I find the best way to do this is duplicate a Chrome or Chrome Canary shortcut on your windows desktop. Rename this shortcut to "NO CORS" then edit the properties of that shortcut. in the target add --disable-web-security --user-data-dir="D:/Chrome" to the end of the target path.
Right-click the Google Chrome desktop icon (or Start Menu link). Select Properties. At the end of the existing information in the Target field, add: " --allow-running-insecure-content" (There is a space before the first dash.) Click OK.
Check your windows task manager and make sure you kill all chrome processes before running the command.
The new tag for recent Chrome and Chromium browsers is :
--disable-web-security --user-data-dir=c:\my\data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With