scripts/userscripts/autocompleteondamnit.user.js

17 lines
473 B
JavaScript
Raw Normal View History

2014-09-13 21:23:13 +02:00
// ==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');
};