A simple html file is not sent as it is; getting unexpected javascript

Website URL

(http://telefonprininternet.great-site.net/schedule.htm)

Error Message

If I put the file on any other server from local C:\inetpub\wwwroot to my company website I get the file as expected (see Other Information below). Only on infinityfree I get this javascript nonsense (it is a simple HTML file, what javascript you add and why ?):

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 24 May 2024 19:03:00 GMT
Content-Type: text/html
Content-Length: 854
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache

This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support

Other Information

I expect to receive:

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 24 May 2024 19:03:00 GMT
Content-Type: text/html
Content-Length: 854
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache

Mo8:30,8:55,8:59
Tu8:30,8:55,8:59
We8:30,11:30,11:59
Th8:30,8:55,8:59
Fr8:30,8:55,8:59
Sa8:30,8:55,8:59
Su8:30,8:55,8:59

What do I need to receive the last response (the actual uploaded and existing file) ?

That Javascript is a security measure.

4 Likes

I meant “This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support”

It sounds like infinityfree security system, website content can only be accessed from the site and not by external apps or hotlinking

click the link below for details

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.