Hello,
This is not a security breach or vulnerability. The script you are seeing is part of the free hosting security system. It is added by the hosting platform to check that the visitor is using a real web browser with JavaScript and cookies enabled.
This system helps block bots, automated scripts, API tools, cURL, webhooks, and other non-browser traffic. Because of that, some things like iframe embedding, external requests, mobile apps, REST APIs, and validation tools may not work correctly on free hosting.
The __test cookie and redirects like ?i=1 are normal parts of this browser verification system. They are not added by your website code, and they do not mean your website has been hacked.
About the mixed content message, this can happen when the browser blocks the verification page inside an iframe or cross-site embed. Free hosting is mainly designed for websites opened directly in normal web browsers, not for embedding or external automated access.
About HTTP/1.1, seeing HTTP/1.1 does not mean there is a security breach. Aeonfree supports HTTP/2 over HTTPS, but some tools, browsers, or fallback connections may still show HTTP/1.1. HTTP/3 is not required for a website to be secure.
If you need API access, mobile app access, iframe embedding, automated tools, or less restrictive security rules, free hosting may not be the right option. In that case, you should use premium hosting, VPS hosting, or another service designed for those use cases.
So the issue you reported is expected behavior of the free hosting security system, not a bug or security breach.
Hope this answers your questions.