If js needs to cross domain, you can use: In this way, data can be read from other websites. <br>The key is to see if you are flexible and can use it. <br>If ajax needs to be cross-domain, you can use a server to fetch content from other websites, such as asp.net: <br></p> <div class="codetitle"> <span><a style="CURSOR: pointer" data="45357" class="copybut" id="copybut45357" onclick="doCopy('code45357')"><u>Copy code</u></a></span> The code is as follows: </div> <div class="codebody" id="code45357"> <br>public string GetUrlData(string url) <br>{ <br>System.Net.HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url ); <br>System.Net.WebResponse webResponse = webRequest.GetResponse(); <br>System.IO.Stream iStream = webResponse.GetResponseStream(); <br>System.IO.StreamReader sr = new System.IO.StreamReader (iStream, System.Text.Encoding.Default); <br>string str = sr.ReadToEnd(); <br>sr.Close(); <br>iStream.Close(); <br>webResponse.Close() ; <br>return str; <br>}<br> </div> <br>This method has been written. You only need to pass in the url address of the website to get the ajax return value you want. <br>In this way, the ajax request of other websites is written to your own server, and then you can use ajax to request the <br>aspx address that you have written. <br>If it is java, the same is true, such as: <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="37071" class="copybut" id="copybut37071" onclick="doCopy('code37071')"><u>Copy code </u></a></span> The code is as follows: </div> <div class="codebody" id="code37071"> <br>URL url = new URL("http://www.jb51.net"); <br>FilterInputStream f=(FilterInputStream)url.openStream(); <br> </div>