TIP

Use integrity/crossorigin to lock js and css files.

In the html code style<link />Tags or<script >The tag adds integrity verification code to ensure the integrity of the loaded resource. If it is tampered with, the browser will not load this resource.

According to this specification, you can add integrity verification code to your website to prevent resource files from being modified, and also protect your pages from being downloaded by people who do not understand code.

Reference subresource integrity:https://www.w3.org/TR/SRI/, supports all major browsers.

reg