Home >Web Front-end >JS Tutorial >How to hide jquery version number

How to hide jquery version number

藏色散人
藏色散人Original
2020-11-10 11:14:126319browse

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.

How to hide jquery version number

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;

How to hide jquery version number

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn