<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux~ized &#187; formfiller</title>
	<atom:link href="http://www.linuxized.com/tag/formfiller/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxized.com</link>
	<description>wired&#039;s /dev/urandom space</description>
	<lastBuildDate>Fri, 03 Sep 2010 18:47:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>how-to: migrating your passwords from firefox to uzbl&#8217;s formfiller</title>
		<link>http://www.linuxized.com/2009/12/how-to-migrating-your-passwords-from-firefox-to-uzbls-formfiller/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxized.com/2009/12/how-to-migrating-your-passwords-from-firefox-to-uzbls-formfiller/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 14:37:34 +0000</pubDate>
		<dc:creator>wired</dc:creator>
				<category><![CDATA[uzbl]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[formfiller]]></category>
		<category><![CDATA[passwords]]></category>

		<guid isPermaLink="false">http://www.linuxized.com/?p=452</guid>
		<description><![CDATA[update 2009-11-07: fixed bug in script uzbl has a simple but nice formfiller script that automatically fills forms for you. if you&#8217;ve been using firefox&#8217;s password manager, you probably have a large list of user details you&#8217;d probably like to use in uzbl too. migrating the data is actually simpler than you think. first, install [...]]]></description>
			<content:encoded><![CDATA[<p><strong>update 2009-11-07</strong>: fixed bug in script</p>
<p>uzbl has a simple but nice formfiller script that automatically fills forms for you.</p>
<p>if you&#8217;ve been using firefox&#8217;s password manager, you probably have a large list of user details you&#8217;d probably like to use in uzbl too. migrating the data is actually simpler than you think.</p>
<p>first, install the <a href="https://addons.mozilla.org/en-US/firefox/addon/2848" target="_blank">Password Exporter</a> add-on in your firefox.</p>
<p>then go to <strong>edit-&gt;preferences-&gt;security-&gt;import/export passwords</strong>, click <strong>export passwords</strong> (do NOT check the checkbox), select <strong>csv</strong> in the <strong>bottom right select box</strong> and save the file in your <strong>${HOME}</strong>.</p>
<p>you should now have a file called <strong>password-export-`date +%Y-%m-%d`</strong> (current date <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) in your ~ folder.</p>
<p>now <strong>open a terminal and run the following</strong>:</p>
<blockquote><p><code>cat ~/password-export-`date +%Y-%m-%d` | grep "^\"http" | while read i; do S=`echo $i | cut -d"\"" -f2`; S="${S/http:\/\/}"; S="${S/https:\/\/}"; U=`echo $i | cut -d"\"" -f4`; P=`echo $i | cut -d"\"" -f6`; UF=`echo $i | cut -d"\"" -f12`; PF=`echo $i | cut -d"\"" -f14`; echo $UF: $U | sed "s/\@/\\\@/g" &gt; ~/.local/share/uzbl/forms/$S; echo $PF: $P | sed "s/\@/\\\@/g" &gt;&gt; ~/.local/share/uzbl/forms/$S; done</code></p></blockquote>
<p><strong>note that the above command will overwrite any existing domains.</strong><br />
the command below are slightly modified to only add non-existing domains:</p>
<blockquote><p><code>cat ~/password-export-`date +%Y-%m-%d` | grep "^\"http" | while read i; do S=`echo $i | cut -d"\"" -f2`; S="${S/http:\/\/}"; S="${S/https:\/\/}"; U=`echo $i | cut -d"\"" -f4`; P=`echo $i | cut -d"\"" -f6`; UF=`echo $i | cut -d"\"" -f12`; PF=`echo $i | cut -d"\"" -f14`; echo $UF: $U | sed "s/\@/\\\@/g" &gt;&gt; ~/.local/share/uzbl/forms/$S; [[ ! -f ~/.local/share/uzbl/forms/$S ]] &amp;&amp; echo $PF: $P | sed "s/\@/\\\@/g" &gt;&gt; ~/.local/share/uzbl/forms/$S; done</code></p></blockquote>
<p><strong>that&#8217;s it</strong>! you should have <strong>a file per domain</strong> with the necessary info in <strong>~/.local/share/uzbl/forms</strong></p>
<blockquote><p><code>ls ~/.local/share/uzbl/forms/</code></p></blockquote>
<p>open a uzbl instance, visit a site with a form and press <strong>zl</strong> [default binding] to tell formfiller to fill in the form for you <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxized.com/2009/12/how-to-migrating-your-passwords-from-firefox-to-uzbls-formfiller/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
