Google browser How to set up to solve Ajax cross-domain problem __ajax

Source: Internet
Author: User

Turn from: http://jingyan.baidu.com/article/7c6fb4281d685780642c900a.html

Ajax itself does not support cross-domain, the cross-domain problem is actually very simple, through the corresponding settings of the browser can complete two different servers or two different services under the project to access each other. I hope you will give us an assessment and a vote. Method/Step

First right-click on Google shortcuts and select Properties in the Drop-down list.

Open the Properties window and switch below the Shortcut tab, which defaults to the General tab.

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

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

If the path in the destination contains double quotes, it is added outside the double quotation marks.

Close the browser again by using a desktop shortcut, and the browser prompts you to use an unsupported command line tag:--disable-web-security. Stability and security will decrease ", stating that the settings were successful. End Considerations

Related Article

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.