Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does --disable-web-security Work In Chrome Anymore?

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?

like image 839
Fields Avatar asked Jul 16 '13 14:07

Fields


People also ask

What does -- disable web security do?

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.

How do I permanently disable web security in chrome?

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.

How do I run chrome with CORS disabled?

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.

How do I run chrome insecure mode?

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.


2 Answers

Check your windows task manager and make sure you kill all chrome processes before running the command.

like image 153
Jason Gotti Avatar answered Sep 26 '22 04:09

Jason Gotti


The new tag for recent Chrome and Chromium browsers is :

--disable-web-security --user-data-dir=c:\my\data 
like image 20
Pritam Banerjee Avatar answered Sep 23 '22 04:09

Pritam Banerjee