scripts/autocompleteondamnit.user.js
2014-09-13 21:23:13 +02:00

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');
};