Set the chrome browser environment variable for cross-origin ajax. ajaxchrome

Source: Internet
Author: User
Tags manual writing

Set the chrome browser environment variable for cross-origin ajax. ajaxchrome

-- Args -- disable-web-security

After the settings are complete, the chrome browser will prompt

The setting is successful.


How to implement cross-origin ajax access in chrome

Method: append the -- allow-file-access-from-files parameter when you open the browser.
Step: in CMD,
1. Specify the chrome root directory as the current operation directory
2. Enter the command chrome.exe -- allow-file-access-from-files
 
About how to obtain the website source code through ajax cross-origin in JavaScript (chrome plug-in)

There are only two methods to parse
1. I have never heard of the ready-made API parsing using js. js parsing should be less efficient.
2. Manual writing ..
Very strange problem
 

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.