How can Google browser settings solve Ajax cross-domain issues?

Source: Internet
Author: User

Ajax itself is not support cross-domain, cross-domain problem is actually very simple, through the corresponding browser settings can be completed two different servers or two different services under the project Mutual access.

Method/Step
  1. First right-click on Google shortcut and select Properties from the drop-down list.

  2. Open the Properties window and switch to the Shortcut tab below, which is the General tab by default.

  3. Add "--disable-web-security" after the target path, in the following format: C:\Users\Administrator\AppData\Local\Google\Chrome\Application\ Chrome.exe--disable-web-security, where there is a space between Chrome.exe and--disable

  4. Click Apply, then click OK to close the window.

  5. If the path in the target contains double quotation marks, it is added outside the double quotation marks.

  6. 6

    Turning off the browser to reopen the browser via the desktop shortcut, the browser prompts "you are using an unsupported command line tag:--disable-web-security." Stability and security will decrease ", stating that the settings were successful.

How can Google browser settings solve Ajax cross-domain issues?

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.