Remove autocomplete=off

Removes the attribute autocomplete=off of forms and inputs.

As of 2016-11-15. See the latest version.

// ==UserScript==
// @name        Remove autocomplete=off
// @namespace   remove-autocomplete-off
// @version     1
// @description Removes the attribute autocomplete=off of forms and inputs.
// @grant none
// ==/UserScript==

Array.prototype.forEach.call(document.querySelectorAll('[autocomplete]'), function(el){
    el.setAttribute('autocomplete', 'on');
});