1

Topic: You are being redirected to the non-JavaScript site - Help!

Question from the lamer (((Which absolutely understands nothing in web programming, scripts and Java. I use libcurl library for dialogue with the server, DuckDuckGo in my case the server sends page with the code 200 , but! The page what that strange (saved in a file) and in a page body is the message that type you  on not  a site... Questions actually here what - purely theoretically how the site learned that the version is necessary to me simple HTML? Also what the code simple html pages turns out after rendering ? I so understand that  this original enciphering after which rendering in a browser there are actually elements HTML - links, pictures etc.? And the practical question - in title of the answer from the server is that that that can specify in a redirect? Or it in the code of the page? How to the simple program like mine it to understand and process? Or it is necessary  support for Javascript as in browsers? Can eat already ready libraries? Here answer title: HTTP/1.1 200 OK Server: nginx Date: Sun, 04 Mar 2018 3:27:38 PM GMT Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive X-DuckDuckGo-Results: 1 Strict-Transport-Security: max-age=31536000 X-Frame-Options: SAMEORIGIN Content-Security-Policy: default-src https: blob: data: ' unsafe-inline ' ' unsafe-eval '; frame-ancestors ' self ' X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Referrer-Policy: origin Expect-CT: max-age=0 Expires: Sun, 04 Mar 2018 3:27:39 PM GMT Cache-Control: max-age=1 X-DuckDuckGo-Locale: en_US Content-Encoding: gzip and contained in file TXT http://files.rsdn.org/58654/DuckDuckGo_search.txt

2

Re: You are being redirected to the non-JavaScript site - Help!

Hello, Poseidon, you wrote: P> Questions actually here what - purely theoretically how the site learned that the version is necessary to me simple HTML? On

3

Re: You are being redirected to the non-JavaScript site - Help!

Hello, Glory, you wrote: Hello, Poseidon, you wrote: P>> Questions actually here what - purely theoretically how the site learned that the version is necessary to me simple HTML? On  it is logical. And how  this abracadabra, in sense , in what that generally is possible comprehended? I certainly understand that it is very useful and necessary piece, but  it is most from zero as that is lazy very much! Especially I not write a browser, and application-oriented

4

Re: You are being redirected to the non-JavaScript site - Help!

Hello, Poseidon, you wrote: P> Hello, Glory, you wrote:>> Hello, Poseidon, you wrote: P>>> Questions actually here what - purely theoretically how the site learned that the version is necessary to me simple HTML?> On  P> it is logical. And how  this abracadabra, in sense , in what that generally is possible comprehended? P> I certainly understand that it is very useful and necessary piece, but  it is most from zero as that is lazy very much! P> especially I not write a browser, and application-oriented  For " this abracadabra" is necessary interpreter on determination. And interpreter' it is necessary runtime. And runtime' it is necessary DOM model (API access to DOM tree). I.e. to you it is necessary also DOM tree. All together also is browser. I.e. write browser. For the . Well or ask .  the Author:  Date: 02.03 21:52 to you tells as it is all to make by means of RegExp.

5

Re: You are being redirected to the non-JavaScript site - Help!

Hello, c-smile, you wrote: CS> I.e. write browser. For the . What for to write, when it is possible to use already available. It is possible to write the extension for the browser. Something is possible ready to use, type selenium. It is all precisely easier than  to write.

6

Re: You are being redirected to the non-JavaScript site - Help!

Hello, Roma Mik, you wrote: > Hello, c-smile, you wrote: CS>> I.e. write browser. For the . > What for to write, when it is possible to use already available. It is possible to write the extension for the browser. Something is possible ready to use, type selenium. It is all precisely easier than  to write. Or PhnatomJS (already died) or headless chrome browser. But it as though already quits for determination "", is not present?

7

Re: You are being redirected to the non-JavaScript site - Help!

P> As to the simple program like mine it to understand and process? Or it is necessary  support for Javascript as in browsers? Can eat already ready P> libraries? https://duckduckgo.com/api - at them like as is API