Created an extension for Chrome, and it worked.
I decided to redo this extension into the site.
There was a question about this error:

No 'Access-Control-Allow-Origin' header is present on the requested resource.

In Chrome, there is a manifest.json file in which you could do this:

 "permissions": [ "http://name.ru/*", ] 

And the problem was solved, but I do not know how to solve this problem on LAN.
The request looks like this:

  function start () { xhr = new XMLHttpRequest(); xhr.open("GET", "http://name.ru", true); xhr.send(null); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { if (xhr.responseText) { // тут функции } } }; 

I do not have access to the site, the extension took information from it for work.

1 answer 1

Problem solved cURL.
Through jQuery, I turn to PHP. In PHP, using cURL made a request, and sent it to the site I needed.
I receive the answer to jQuery, and I work with it.

 <?PHP $q = $_REQUEST["q"]; $ch = curl_init($q); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0); $text = curl_exec($ch); curl_close($ch); ?>