Edit File by line
/home/barbar84/public_h.../wp-inclu.../js
File: zxcvbn-async.js
/**
[0] Fix | Delete
* @output wp-includes/js/zxcvbn-async.js
[1] Fix | Delete
*/
[2] Fix | Delete
[3] Fix | Delete
/* global _zxcvbnSettings */
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Loads zxcvbn asynchronously by inserting an async script tag before the first
[7] Fix | Delete
* script tag on the page.
[8] Fix | Delete
*
[9] Fix | Delete
* This makes sure zxcvbn isn't blocking loading the page as it is a big
[10] Fix | Delete
* library. The source for zxcvbn is read from the _zxcvbnSettings global.
[11] Fix | Delete
*/
[12] Fix | Delete
(function() {
[13] Fix | Delete
var async_load = function() {
[14] Fix | Delete
var first, s;
[15] Fix | Delete
s = document.createElement('script');
[16] Fix | Delete
s.src = _zxcvbnSettings.src;
[17] Fix | Delete
s.type = 'text/javascript';
[18] Fix | Delete
s.async = true;
[19] Fix | Delete
first = document.getElementsByTagName('script')[0];
[20] Fix | Delete
return first.parentNode.insertBefore(s, first);
[21] Fix | Delete
};
[22] Fix | Delete
[23] Fix | Delete
if (window.attachEvent != null) {
[24] Fix | Delete
window.attachEvent('onload', async_load);
[25] Fix | Delete
} else {
[26] Fix | Delete
window.addEventListener('load', async_load, false);
[27] Fix | Delete
}
[28] Fix | Delete
}).call(this);
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function