Skip to content

Instantly share code, notes, and snippets.

@gregoiredx
Created April 30, 2014 15:27
Show Gist options
  • Save gregoiredx/25d393bba79e64fd8369 to your computer and use it in GitHub Desktop.
Save gregoiredx/25d393bba79e64fd8369 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name autocomplete
// @namespace https://*
// @include https://*
// ==/UserScript==
for(var i=0; i< document.forms.length; i++){
document.forms[i].autocomplete = "on";
for(var j=0; j< document.forms[i].elements.length; j++){
document.forms[i].elements[j].autocomplete = "on";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment