As you know zxcvbn.min.js is around 400kb and loaded by default in wordpress websites , I want to know how I can prevent this JavaScript library to load As I don\'t want passwo
Add the following to your theme's function.php or to a custom plugin:
//disable zxcvbn.min.js in wordpress
add_action('wp_print_scripts', 'remove_password_strength_meter');
function remove_password_strength_meter() {
// Deregister script about password strenght meter
wp_dequeue_script('zxcvbn-async');
wp_deregister_script('zxcvbn-async');
}