scripts/userscripts/autocompleteondamnit.user.js

16 lines
473 B
JavaScript

// ==UserScript==
// @name AutocompleteOnDamnit
// @namespace mawhorter.net
// @include *
// ==/UserScript==
var frmels = document.getElementsByTagName('input');
for(var i in frmels) {
if(frmels[i].getAttribute('autocomplete'))
frmels[i].removeAttribute('autocomplete');
};
var frmels = document.getElementsByTagName('form');
for(var i in frmels) {
if(frmels[i].getAttribute('autocomplete'))
frmels[i].removeAttribute('autocomplete');
};