Go to Chrome command line: disable-web-security implementing browser cross-domain

Source: Internet
Author: User

Note that this method is not available after the Chrome 48 release

Recommend a new way to implement local cross-domain debug online resources and search for Chrome plugins Allow-Control-Allow-Origin: * .
Https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi

Chrome under Windows System (WIN7)

1. Close all open chrome. (important). Otherwise, there will be no effect!
2, create a shortcut to Chrome, the goal of modifying the shortcut is:

1
"C:\program Files\google\chrome\application\chrome.exe"--args--disable-web-security

3. Double-click the Chrome shortcut we created to open chrome and "you're using an unsupported command line tag: –disable-web-security." Stability and security will decrease ", indicating that you have canceled the cross-domain limit, and you can call data across domains arbitrarily.

Mac OS under
1
/applications/google\ chrome.app/contents/macos/google\ Chrome--disable-web-security

Or

1
Open---args--disable-web-security

To open the Apple Safafi using the command line:
1
Open---args--disable-web-security

Original address: https://www.uis.cc/2015/08/17/disable-web-security/

Go to Chrome command line: disable-web-security implementing browser cross-domain

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.