<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Michael Jay Lissner</title><link href="https://michaeljaylissner.com/" rel="alternate"></link><link href="https://michaeljaylissner.com/feeds/tag/frustration" rel="self"></link><id>https://michaeljaylissner.com/</id><updated>2009-10-28T09:39:19-07:00</updated><entry><title>Rid Thyself of Autocomplete=Off in Firefox</title><link href="https://michaeljaylissner.com/posts/2009/10/28/rid-thyself-of-autocomplete-in-firefox/" rel="alternate"></link><updated>2009-10-28T09:39:19-07:00</updated><author><name>Mike Lissner</name></author><id>tag:michaeljaylissner.com,2009-10-28:posts/2009/10/28/rid-thyself-of-autocomplete-in-firefox/</id><summary type="html">&lt;p&gt;&lt;strong&gt;Update, 12-15-09:&lt;/strong&gt; See &lt;a href="https://michaeljaylissner.com/posts/2009/12/15/script-to-rid-thyself-of-autocomplete-in-firefox/"&gt;this script&lt;/a&gt; for an automated way to apply 
this&amp;nbsp;change.&lt;/p&gt;
&lt;p&gt;If you&amp;#8217;re at all like me, you use a password manager to keep track of all 
your passwords, and it works great. Most of the time. Except sometimes, 
it doesn&amp;#8217;t work, and you&amp;#8217;re confused why. Well, more often than not, 
it&amp;#8217;s because your password manager has been blocked by the web page you&amp;#8217;re&amp;nbsp;viewing.&lt;/p&gt;
&lt;p&gt;If you look closely at the code of the page, somewhere in it, 
you&amp;#8217;ll probably find something that looks like&amp;nbsp;this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;button&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;submit&amp;quot;&lt;/span&gt;  &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;login&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;login&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;autocomplete=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;off&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;That autocomplete parameter that you see at the end there? Yeah, 
that&amp;#8217;s the one that&amp;#8217;s blocking your password manager. So we must block it, 
so it doesn&amp;#8217;t block&amp;nbsp;us.&lt;/p&gt;
&lt;p&gt;There&amp;#8217;s a couple approaches to this, but probably the best is to disable 
Firefox&amp;#8217;s ability to interpret autocomplete. The way to do this on Linux is
to browse&amp;nbsp;to:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;xulrunner&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.9.1.5&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;components&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;nsLoginManager&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;js&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;And in Windows, I believe it&amp;#8217;s&amp;nbsp;at:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span class="nl"&gt;C:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Program&lt;/span&gt; &lt;span class="n"&gt;Files&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Mozilla&lt;/span&gt; &lt;span class="n"&gt;Firefox&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;nsLoginManager&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;js&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Once you&amp;#8217;ve found that file, open it in an editor, and find the section 
that has &lt;code&gt;isAutoCompleteDisabled&lt;/code&gt;, and make it look like this (so it will 
always return &lt;span class="caps"&gt;FALSE&lt;/span&gt;):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span class="cm"&gt;/*&lt;/span&gt;
&lt;span class="cm"&gt; * _isAutoCompleteDisabled&lt;/span&gt;
&lt;span class="cm"&gt; *&lt;/span&gt;
&lt;span class="cm"&gt; * Returns true if the page requests autocomplete be disabled for the&lt;/span&gt;
&lt;span class="cm"&gt; * specified form input.&lt;/span&gt;
&lt;span class="cm"&gt; */&lt;/span&gt;
 &lt;span class="nx"&gt;_isAutocompleteDisabled&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt;  &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;element&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
 &lt;span class="c1"&gt;//        if (element &amp;amp;&amp;amp; element.hasAttribute(&amp;quot;autocomplete&amp;quot;) &amp;amp;&amp;amp;&lt;/span&gt;
 &lt;span class="c1"&gt;//            element.getAttribute(&amp;quot;autocomplete&amp;quot;).toLowerCase() == &amp;quot;off&amp;quot;)&lt;/span&gt;
 &lt;span class="c1"&gt;//            return true;&lt;/span&gt;

 &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
 &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Once that&amp;#8217;s done, save the file, restart Firefox and you&amp;#8217;re all&amp;nbsp;set.&lt;/p&gt;</summary><category term="firefox"></category><category term="frustration"></category><category term="autocomplete"></category></entry><entry><title>Civic Frustration</title><link href="https://michaeljaylissner.com/posts/2008/11/23/civic-frustration/" rel="alternate"></link><updated>2008-11-23T17:10:59-08:00</updated><author><name>Mike Lissner</name></author><id>tag:michaeljaylissner.com,2008-11-23:posts/2008/11/23/civic-frustration/</id><summary type="html">&lt;p&gt;I was walking to work a few months ago, enjoying the crisp summer morning air, and I came to a stop light that instructed me to wait to cross. It being a one-way street, I looked left, saw no cars for a block and a half, and casually walked across the road, against the traffic light&amp;#8217;s firm instruction. I continued walking for another third of a block, and then heard a siren blare behind me &lt;em&gt;on the sidewalk&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Incredibly, I was getting pulled over (so to speak), by a motorcycle cop (now illegally riding on the sidewalk) for defying a traffic light while on foot. I was &amp;ndash; and still am &amp;ndash; in shock. I expressed my disbelief to the officer, &amp;#8220;You&amp;#8217;re kidding right?&amp;#8221; He was not. &amp;#8220;You have better things to do with your time, right?&amp;#8221; He did not. He told me a woeful tale of how he has to call parents in the middle of the night to tell them that their child had been hit while crossing the road. I informed him that I was in fact a professional walker that literally walked halfway across the continent, and that I was pretty much &lt;span class="caps"&gt;OK&lt;/span&gt; crossing the street. He insisted he was doing me a favor, and teaching me a&amp;nbsp;lesson.&lt;/p&gt;
&lt;p&gt;For the 20 minutes that I stalled the guy, I did my best to make him realize that what he was doing was a waste of time, good faith and resources. I realized then and I realize now that this is the minority position when being ticketed by the cops, and I don&amp;#8217;t think it helped me get out of the ticket. The whole time I was arguing with the guy though, I couldn&amp;#8217;t help but think about all the waste that is caused by meaningless laws. Jay walking. Full-stops at stop signs. Waiting at red lights at &lt;span class="caps"&gt;3AM&lt;/span&gt;. The list goes&amp;nbsp;on.&lt;/p&gt;
&lt;p&gt;All of these things waste time, and don&amp;#8217;t have particularly good purposes. We live for only so long, and how much of our time is stuck waiting because of laws that take morality, judgment, and reason out of the picture? Clearly, there is room for improvement, but somehow cops feel comfortable (righteous?) about giving these kinds of&amp;nbsp;tickets.&lt;/p&gt;
&lt;p&gt;Ninety-three dollars later, and I&amp;#8217;ve cleared my name of this heinous crime on humanity. Surely something is wrong though, when cops have nothing better to do than to give this kind of ticket. Can&amp;#8217;t we find better ways to use our&amp;nbsp;resources? &lt;/p&gt;</summary><category term="concord"></category><category term="police"></category><category term="frustration"></category></entry></feed>