paperlined.org
apps > bookmarklets > html
document updated 18 years ago, on Nov 25, 2005
drag_and_rename (117 characters)



// Makes every form on a webpage be method="GET" instead of post, so it's easy to make bookmarks from search forms.

var f = document.getElementsByTagName('form');
for (var i=0; i<f.length; i++) {
	f[i].setAttribute('method', 'GET');
}