This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var forms = document.getElementsByTagName("form"); | |
var inputs = document.getElementsByTagName("input"); | |
var fields = Array.prototype.concat.apply(Array.prototype.slice.call(forms, 0), inputs); | |
for (var i = 0; i < fields.length; i++) { | |
fields[i].setAttribute("autocomplete", "on"); | |
fields[i].onpaste = null; | |
if (window.jQuery) { | |
window.jQuery(fields[i]).unbind("paste"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Job for automatically resolving and updating GasMask host file entries. | |
# | |
# Spencer Creasey (github.com/spence) | |
# | |
# Gasmask: http://www.clockwise.ee/gasmask/ | |
# | |
# To use, on the line before your host entry, add: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
NewerOlder