How to hide the jquery version number: 1. Rename the jquery file; 2. Delete the comment with the version number in the header of the jquery file; 3. Clear the version number in the jquery file; 4. In [ Just rewrite the [$.fn.jquery] attribute value in the jquery.js] file.
The operating environment of this tutorial: Windows 7 system, jquery version 3.5. This method is suitable for all brands of computers.
Recommendation: "jquery Tutorial"
Hide the jQuery version information to prevent attackers from identifying the version number.
The operation is as follows:
>Rename the jquery file;
>Delete the comment with the version number in the head of the jquery file;
>Clear the version number in the jquery file;
>Rewrite the $.fn.jquery attribute value in the jquery.js file;
Related free learning recommendations: JavaScript (video)
The above is the detailed content of How to hide jquery version number. For more information, please follow other related articles on the PHP Chinese website!