Skip to content

Instantly share code, notes, and snippets.

@spence
Created November 30, 2012 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spence/4176224 to your computer and use it in GitHub Desktop.
Save spence/4176224 to your computer and use it in GitHub Desktop.
Bookmarklet: Enable Autocomplete
<!DOCTYPE html>
<html>
<head><title>Bookmarklet: Auto Complete</title></head>
<body>
<a href="javascript:(function()%7Bfor(var%20b=Array.prototype,a=b.concat.apply(b.slice.call(document.getElementsByTagName(%22form%22),0),document.getElementsByTagName(%22input%22)),i=0;a.length%3Ei;i++)a%5Bi%5D.setAttribute(%22autocomplete%22,%22on%22);%7D)()">Enable Autocomplete</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment