I decided to make an anonymizer for general development. In order for all links to pass through it, I made the replacement of absolutely all links (both local and global) to those that would pass through the anonymizer (i.e., href="http://2ip.ru" replaced by href="http://%адрес_анонимайзера%/?link=http://2ip.ru") . There was no problem with the replacement of addresses of references, but before such a replacement, the sites looked like this: Before replacing links

And after they began to look like this: After replacement

At the same time, messages with the same text about loading styles were output to the console: Resource interpreted as Stylesheet but transferred with MIME type text/html Can you please tell me what to do here? Network tab:

  • one
    Just in case, does your anonymizer transfer the headers along with the content? What does the style file look like in the web inspector (in the Network tab)? - Surfin Bird
  • Added to the question. Interestingly, it is identified there as a stylesheet. - user4859176
  • one
    And headings are transferred? Is the content of the CSS file exactly the same? All this is strange, of course. - Surfin Bird

0