<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Form auto-fill bookmarklet</title>
	<atom:link href="http://www.phpied.com/form-auto-fill-bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/form-auto-fill-bookmarklet/</link>
	<description>Stoyan&#039;s blog</description>
	<lastBuildDate>Wed, 22 May 2013 03:25:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: cars</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-95020</link>
		<dc:creator>cars</dc:creator>
		<pubDate>Wed, 15 May 2013 01:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-95020</guid>
		<description><![CDATA[Shopping for a new or used car can be a difficult process if you do not know what 
you are doing. By educating yourself about car shopping before you head to the dealership, you can make things easier 
for yourself. The following tips can help your next shopping trip be more enjoyable.]]></description>
		<content:encoded><![CDATA[<p>Shopping for a new or used car can be a difficult process if you do not know what<br />
you are doing. By educating yourself about car shopping before you head to the dealership, you can make things easier<br />
for yourself. The following tips can help your next shopping trip be more enjoyable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: motorcycle</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-94829</link>
		<dc:creator>motorcycle</dc:creator>
		<pubDate>Sun, 05 May 2013 22:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-94829</guid>
		<description><![CDATA[I simply couldn&#039;t depart your website before suggesting that I really enjoyed the usual info an individual provide to your guests? Is gonna be again steadily in order to check out new posts]]></description>
		<content:encoded><![CDATA[<p>I simply couldn&#8217;t depart your website before suggesting that I really enjoyed the usual info an individual provide to your guests? Is gonna be again steadily in order to check out new posts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodney</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-91725</link>
		<dc:creator>Rodney</dc:creator>
		<pubDate>Wed, 09 Jan 2013 02:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-91725</guid>
		<description><![CDATA[Hi all, here every one is sharing these know-how, thus it&#039;s good to read this blog, and I used to go to see this blog daily.]]></description>
		<content:encoded><![CDATA[<p>Hi all, here every one is sharing these know-how, thus it&#8217;s good to read this blog, and I used to go to see this blog daily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-90451</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 11 Oct 2012 06:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-90451</guid>
		<description><![CDATA[Hi, this is a great tool, any idea how I can integrate this to Selenium IDE?]]></description>
		<content:encoded><![CDATA[<p>Hi, this is a great tool, any idea how I can integrate this to Selenium IDE?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webtools &#8211; i2biz info</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-88960</link>
		<dc:creator>webtools &#8211; i2biz info</dc:creator>
		<pubDate>Sun, 15 Jul 2012 23:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-88960</guid>
		<description><![CDATA[[...] Form auto-fill bookmarklet [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Form auto-fill bookmarklet [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuasha420</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-82264</link>
		<dc:creator>Kuasha420</dc:creator>
		<pubDate>Sun, 29 Apr 2012 10:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-82264</guid>
		<description><![CDATA[Great tool for me. :) Thank you very much]]></description>
		<content:encoded><![CDATA[<p>Great tool for me. <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: successful call center</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-81734</link>
		<dc:creator>successful call center</dc:creator>
		<pubDate>Thu, 08 Mar 2012 21:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-81734</guid>
		<description><![CDATA[&lt;strong&gt;successful call center...&lt;/strong&gt;

[...]Form auto-fill bookmarklet / Stoyan&#039;s phpied.com[...]...]]></description>
		<content:encoded><![CDATA[<p><strong>successful call center&#8230;</strong></p>
<p>[...]Form auto-fill bookmarklet / Stoyan&#8217;s phpied.com[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose Browne</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-78030</link>
		<dc:creator>Jose Browne</dc:creator>
		<pubDate>Fri, 24 Jun 2011 16:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-78030</guid>
		<description><![CDATA[Awesome tool!!!]]></description>
		<content:encoded><![CDATA[<p>Awesome tool!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emilio</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-77717</link>
		<dc:creator>Emilio</dc:creator>
		<pubDate>Fri, 13 May 2011 12:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-77717</guid>
		<description><![CDATA[I improved your code:

- added &quot;tolower()&quot; for fieldnames with mail and name in it
- replaced &quot;email&quot; by &quot;mail&quot;
- added a random subdomain for the email so the chance is lower you get the same email address again
- never use option 0 in a SELECT because that is often &quot;please choose&quot;
- always add the name of the field in the value
- when &quot;phone&quot; is in the fieldname just write a number

javascript:var%20auto%20={names:%20&#039;Steve%20Buscemi%20Catherine%20Keener%20Dermot%20Mulroney%20Danielle%20Zerneck%20James%20LeGros%20Rica%20Martens%20Peter%20Dinklage%20Kevin%20Corrigan%20Hilary%20Gilford%20Robert%20Wightman%20Tom%20Jarmusch%20Michael%20Griffiths%20Matthew%20Grace%20Ryan%20Bowker%20Francesca%20DiMauro&#039;,blurb:%20&#039;phpBB%20free,%20open%20source%20Internet%20community%20application%20with%20outstanding%20discussion%20forums%20and%20membership%20management.%20Written%20scripting%20language,%20making%20use%20popular%20MySQL%20database%20phpBB%20standard%20among%20web%20hosting%20companies%20throughout%20world%20one%20most%20widely%20used%20bulletin%20board%20packages%20world%20phpBB%20short%20circuits%20need%20you%20web%20development%20master%20order%20create%20manage%20massive%20online%20communities&#039;,password:%20&#039;secret&#039;,fillerup:%20function()%20{var%20all_inputs%20=%20document.getElementsByTagName(&#039;input&#039;);var%20all_selects%20=%20document.getElementsByTagName(&#039;select&#039;);var%20all_textareas%20=%20document.getElementsByTagName(&#039;textarea&#039;);for%20(var%20i%20=%200,%20max%20=%20all_selects.length;%20i%200%20&amp;&amp;%20sel.options[sel.selectedIndex].value)%20{continue;%20}var%20howmany%20=%201;%20if%20(sel.type%20==%20&#039;select-multiple&#039;)%20{%20var%20howmany%20=%201%20+%20this.getRand(sel.options.length%20-%201);}for%20(var%20j%20=%200;%20j%20&lt;%20howmany;%20j++)%20{var%20index%20=%20this.getRand(sel.options.length%20-%201);sel.options[index].selected%20=%20&#039;selected&#039;;}}for%20(var%20i%20=%200,%20max%20=%20all_textareas.length;%20i%20&lt;%20max;%20i++)%20{var%20ta%20=%20all_textareas[i];if%20(!ta.value)%20{ta.value%20=%20ta.name+&#039;%20&#039;+this.getRandomString(10)+%20&#039;\n\n&#039;+%20this.getRandomString(10);}}for%20(var%20i%20=%200,%20max%20=%20all_inputs.length;%20i%20&lt;%20max;%20i++)%20{var%20inp%20=%20all_inputs[i];var%20type%20=%20inp.getAttribute(&#039;type&#039;);if%20(!type)%20{type%20=%20&#039;text&#039;;%20}if%20(type%20==%20&#039;checkbox&#039;)%20{inp.setAttribute(&#039;checked&#039;,%20&#039;checked&#039;);}if%20(type%20==%20&#039;radio&#039;)%20{var%20to_update%20=%20true;var%20name%20=%20inp.name;var%20input_array%20=%20inp.form.elements[inp.name];for%20(var%20j%20=%200;%20j%20&lt;%20input_array.length;%20j++)%20{if%20(input_array[j].checked)%20{to_update%20=%20false;continue;}}if%20(to_update)%20{var%20index%20=%20this.getRand(input_array.length%20-%201);input_array[index].setAttribute(&#039;checked&#039;,%20&#039;checked&#039;);}}if%20(type%20==%20&#039;password&#039;)%20{if%20(!inp.value)%20{inp.value%20=%20this.getPassword();}}if%20(type%20==%20&#039;text&#039;)%20{if%20(!inp.value)%20{if%20(inp.name.toLowerCase().indexOf(&#039;name&#039;)%20!=%20-1)%20{inp.value%20=%20inp.name%20+%20&#039;%20&#039;%20+%20this.getRandomName();}%20else%20if%20(inp.name.toLowerCase().indexOf(&#039;mail&#039;)%20!=%20-1)%20{inp.value=this.getRandomString(1)+&#039;@&#039;+this.getRandomString(1)+&#039;.example.org&#039;;}%20else%20if%20(inp.name.toLowerCase().indexOf(&#039;phone&#039;)%20!=%20-1)%20{inp.value=parseInt(Math.random()*1000000+100000);}%20else%20{inp.value%20=%20inp.name+&#039;%20&#039;+this.getRandomString(1);}}}}},getRandomString:%20function%20(how_many_words)%20{if%20(!how_many_words)%20{how_many_words%20=%205;}if%20(!this.words)%20{this.words%20=%20this.blurb.split(&#039;%20&#039;);}var%20retval%20=%20&#039;&#039;;for%20(var%20i%20=%200;%20i%20&lt;%20how_many_words;%20i++)%20{retval%20+=%20this.words[this.getRand(this.words.length)%20-%201];retval%20+=%20(i%20&lt;%20how_many_words%20-%201)%20?%20&#039;%20&#039;%20:%20&#039;&#039;;}return%20retval;},getRandomName:%20function%20()%20{if%20(!this.split_names)%20{this.split_names%20=%20this.names.split(&#039;%20&#039;);}return%20this.split_names[this.getRand(this.split_names.length)%20-%201];},getPassword:%20function%20()%20{if%20(!this.password)%20{this.password%20=%20&#039;secret&#039;;}return%20this.password;},getRand:%20function%20(count)%20{return%20Math.round(count%20*%20Math.random());}};%20auto.fillerup()]]></description>
		<content:encoded><![CDATA[<p>I improved your code:</p>
<p>- added &#8220;tolower()&#8221; for fieldnames with mail and name in it<br />
- replaced &#8220;email&#8221; by &#8220;mail&#8221;<br />
- added a random subdomain for the email so the chance is lower you get the same email address again<br />
- never use option 0 in a SELECT because that is often &#8220;please choose&#8221;<br />
- always add the name of the field in the value<br />
- when &#8220;phone&#8221; is in the fieldname just write a number</p>
<p>javascript:var%20auto%20={names:%20&#8242;Steve%20Buscemi%20Catherine%20Keener%20Dermot%20Mulroney%20Danielle%20Zerneck%20James%20LeGros%20Rica%20Martens%20Peter%20Dinklage%20Kevin%20Corrigan%20Hilary%20Gilford%20Robert%20Wightman%20Tom%20Jarmusch%20Michael%20Griffiths%20Matthew%20Grace%20Ryan%20Bowker%20Francesca%20DiMauro&#8217;,blurb:%20&#8242;phpBB%20free,%20open%20source%20Internet%20community%20application%20with%20outstanding%20discussion%20forums%20and%20membership%20management.%20Written%20scripting%20language,%20making%20use%20popular%20MySQL%20database%20phpBB%20standard%20among%20web%20hosting%20companies%20throughout%20world%20one%20most%20widely%20used%20bulletin%20board%20packages%20world%20phpBB%20short%20circuits%20need%20you%20web%20development%20master%20order%20create%20manage%20massive%20online%20communities&#8217;,password:%20&#8242;secret&#8217;,fillerup:%20function()%20{var%20all_inputs%20=%20document.getElementsByTagName(&#8216;input&#8217;);var%20all_selects%20=%20document.getElementsByTagName(&#8216;select&#8217;);var%20all_textareas%20=%20document.getElementsByTagName(&#8216;textarea&#8217;);for%20(var%20i%20=%200,%20max%20=%20all_selects.length;%20i%200%20&amp;&amp;%20sel.options[sel.selectedIndex].value)%20{continue;%20}var%20howmany%20=%201;%20if%20(sel.type%20==%20&#8242;select-multiple&#8217;)%20{%20var%20howmany%20=%201%20+%20this.getRand(sel.options.length%20-%201);}for%20(var%20j%20=%200;%20j%20&lt;%20howmany;%20j++)%20{var%20index%20=%20this.getRand(sel.options.length%20-%201);sel.options[index].selected%20=%20&#039;selected&#039;;}}for%20(var%20i%20=%200,%20max%20=%20all_textareas.length;%20i%20&lt;%20max;%20i++)%20{var%20ta%20=%20all_textareas[i];if%20(!ta.value)%20{ta.value%20=%20ta.name+&#039;%20&#039;+this.getRandomString(10)+%20&#039;\n\n&#039;+%20this.getRandomString(10);}}for%20(var%20i%20=%200,%20max%20=%20all_inputs.length;%20i%20&lt;%20max;%20i++)%20{var%20inp%20=%20all_inputs[i];var%20type%20=%20inp.getAttribute(&#039;type&#039;);if%20(!type)%20{type%20=%20&#039;text&#039;;%20}if%20(type%20==%20&#039;checkbox&#039;)%20{inp.setAttribute(&#039;checked&#039;,%20&#039;checked&#039;);}if%20(type%20==%20&#039;radio&#039;)%20{var%20to_update%20=%20true;var%20name%20=%20inp.name;var%20input_array%20=%20inp.form.elements[inp.name];for%20(var%20j%20=%200;%20j%20&lt;%20input_array.length;%20j++)%20{if%20(input_array[j].checked)%20{to_update%20=%20false;continue;}}if%20(to_update)%20{var%20index%20=%20this.getRand(input_array.length%20-%201);input_array[index].setAttribute(&#039;checked&#039;,%20&#039;checked&#039;);}}if%20(type%20==%20&#039;password&#039;)%20{if%20(!inp.value)%20{inp.value%20=%20this.getPassword();}}if%20(type%20==%20&#039;text&#039;)%20{if%20(!inp.value)%20{if%20(inp.name.toLowerCase().indexOf(&#039;name&#039;)%20!=%20-1)%20{inp.value%20=%20inp.name%20+%20&#039;%20&#039;%20+%20this.getRandomName();}%20else%20if%20(inp.name.toLowerCase().indexOf(&#039;mail&#039;)%20!=%20-1)%20{inp.value=this.getRandomString(1)+&#039;@&#039;+this.getRandomString(1)+&#039;.example.org&#039;;}%20else%20if%20(inp.name.toLowerCase().indexOf(&#039;phone&#039;)%20!=%20-1)%20{inp.value=parseInt(Math.random()*1000000+100000);}%20else%20{inp.value%20=%20inp.name+&#039;%20&#039;+this.getRandomString(1);}}}}},getRandomString:%20function%20(how_many_words)%20{if%20(!how_many_words)%20{how_many_words%20=%205;}if%20(!this.words)%20{this.words%20=%20this.blurb.split(&#039;%20&#039;);}var%20retval%20=%20&#039;&#039;;for%20(var%20i%20=%200;%20i%20&lt;%20how_many_words;%20i++)%20{retval%20+=%20this.words[this.getRand(this.words.length)%20-%201];retval%20+=%20(i%20&lt;%20how_many_words%20-%201)%20?%20&#039;%20&#039;%20:%20&#039;&#039;;}return%20retval;},getRandomName:%20function%20()%20{if%20(!this.split_names)%20{this.split_names%20=%20this.names.split(&#039;%20&#039;);}return%20this.split_names[this.getRand(this.split_names.length)%20-%201];},getPassword:%20function%20()%20{if%20(!this.password)%20{this.password%20=%20&#039;secret&#039;;}return%20this.password;},getRand:%20function%20(count)%20{return%20Math.round(count%20*%20Math.random());}};%20auto.fillerup()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webshop Beratung und Entwicklung in Wien &#187; Blog Archive &#187; Formulare testen</title>
		<link>http://www.phpied.com/form-auto-fill-bookmarklet/#comment-77716</link>
		<dc:creator>Webshop Beratung und Entwicklung in Wien &#187; Blog Archive &#187; Formulare testen</dc:creator>
		<pubDate>Fri, 13 May 2011 06:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/form-auto-fill-bookmarklet/#comment-77716</guid>
		<description><![CDATA[[...] http://www.phpied.com/form-auto-fill-bookmarklet/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.phpied.com/form-auto-fill-bookmarklet/" rel="nofollow">http://www.phpied.com/form-auto-fill-bookmarklet/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
