<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0">
<channel>
    <title>Gregory Koberger - Mozilla</title>
    
        <description>Mozilla-related blog posts</description>
    
    <link>http://gkoberger.net</link>
    <lastBuildDate>April 24, 2012 00:00:01 PST</lastBuildDate>
    <pubDate>April 24, 2012 00:00:01 PST</pubDate>

    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/gkoberger-mozilla" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="gkoberger-mozilla" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
        <title>BugzillaJS Updates</title>
        <description>
            
&lt;p&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/"&gt;BugzillaJS 3.0&lt;/a&gt; is out! It comes with a bunch of new features aimed at helping Bugzilla power users get around Bugzilla as quick as possible.&lt;/p&gt;

&lt;div style="text-align:center;"&gt;&lt;strong&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/"&gt;Download BugzillaJS 3.0&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;

&lt;h3&gt;Keyboard Navigation&lt;/h3&gt;
&lt;p&gt;Keyboard shortcuts save you time by allowing you to navigate Bugzilla without having to take your hands off the keyboard to use the moouse. Anyone who uses
the keyboard shortcuts in GMail or GitHub knows how nice this is.&lt;/p&gt;
&lt;p&gt;To enable keyboard shortcuts and view the various commands, just hit the "?" key on any
Bugzilla page. When in a list of bugs, you'll now see an arrow to the left of the bug number. You can move it up and down using &lt;em&gt;j&lt;/em&gt; and &lt;em&gt;k&lt;/em&gt;, and
go to the selected row by hitting &lt;em&gt;&amp;lt;enter&amp;gt;&lt;/em&gt;. Once in a bug, skip to the next or previous bug with &lt;em&gt;J&lt;/em&gt; or &lt;em&gt;K&lt;/em&gt;, respectively.&lt;/p&gt;

&lt;p&gt;There are a bunch of shortcuts, so make sure you hit &lt;em&gt;?&lt;/em&gt; to see what's possible. If you have an idea for a new shortcut, &lt;a
  href="https://github.com/gkoberger/BugzillaJS/issues/new"&gt;let me know&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;File It&lt;/h3&gt;
&lt;p&gt;A few weeks ago, my coworker &lt;a href="http://harthur.wordpress.com/"&gt;Heather Arthur&lt;/a&gt; created a simple shortcut called &lt;a
  href="http://harthur.github.com/fileit/"&gt;File It&lt;/a&gt;. It makes filing a bug in the proper product and component much simplier. I shamelessly ported it over to
BugzillaJS. When you go to the "New Bug" page, there's now a box at the top of the page that you can start typing into. Or you can simply hit &lt;em&gt;n&lt;/em&gt; on any
Bugzilla page, and a File It box will pop up (requires Keyboard Shortcuts; hit "?" to enable them).&lt;/p&gt;

&lt;h3&gt;New Feature Notification&lt;/h3&gt;
&lt;p&gt;In order for people to take advantage of the new features, I added a notification when important new features were added to BugzillaJS. A little bubble with
a number in it shows up when there are new features. If you open up the preferences, new features will be marked. You can dismiss the notification by saving the
preferences.&lt;/p&gt;

&lt;h3&gt;Redone Preferences&lt;/h3&gt;
&lt;p&gt;Preferences have been organized by category, rather than the jumbled mess they were before. It should make it easier to find what feature you're looking for.&lt;/p&gt;

&lt;h3&gt;Works on any Bugzilla&lt;/h3&gt;
&lt;p&gt;This feature actually came out in the previous version, however I didn't mention it here. BugzillaJS now works for any Bugzilla installation &amp;mdash; not just
Mozilla's. You can add
additional Bugzilla URLs in the add-on settings. To get to it, go to &lt;em&gt;Ctrl+Shift+A &gt; Extensions &gt; BugzillaJS &gt; Preferences&lt;/em&gt;.&lt;/p&gt;
&lt;div style="text-align:center;"&gt;&lt;strong&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/"&gt;Download BugzillaJS 3.0&lt;/a&gt;
&lt;/strong&gt;&lt;/div&gt;

        </description>
        <link>http://gkoberger.net/n/bugzillajs-updates</link>
        <guid>bugzillajs-updates</guid>
        <pubDate>April 24, 2012 14:30:01 PST</pubDate>
        <category>mozilla</category>
    </item>

    <item>
        <title>Firefoxes</title>
        <description>
            
&lt;p&gt;Quite often, I find myself wanting to run multiple versions of Firefox: to test out a new feature in Nightly, make sure my add-ons work in Aurora or maybe track down a bug in an earlier version. Using the &lt;a href="http://kb.mozillazine.org/Profile_manager"&gt;Profile Manager&lt;/a&gt;, it's possible to have numerous versions of Firefox running side by side.&lt;/p&gt;
&lt;p&gt;I started writing a tutorial, but it quickly got too complicated. So, I decided to write a script that would download, install and set up profiles for any version of Firefox. About halfway through, I stumbled upon a script called "&lt;a href="https://github.com/omgmog/install-all-firefox"&gt;install-all-firefox&lt;/a&gt;" by Max Glenister. It did a lot of what I wanted, so I forked it and worked from there.&lt;/p&gt;

&lt;div class="center"&gt;
  &lt;img src="http://gkoberger.net/images/notepad/firefoxes.png" alt="OSX Dock"&gt;
&lt;/div&gt;

&lt;h3&gt;How To Use It&lt;/h3&gt;
&lt;em&gt;Note: Currently this is OSX only&lt;/em&gt;

&lt;code class="brush: bash"&gt;
curl -L -O https://github.com/omgmog/install-all-firefox/raw/master/firefoxes.sh
chmod +x firefoxes.sh
./firefoxes.sh [version] [locale] [no_prompt]
&lt;/code&gt;

&lt;p&gt;Version and locale are option. If you don't use a locale, it will try to figure out your locale. If you don't have a version, it will install all available
versions of Firefox.&lt;/p&gt;

&lt;p&gt;If you want to see what's available (and what you have installed):&lt;/p&gt;
&lt;code class="brush: bash"&gt;./firefoxes.sh&lt;/code&gt;

&lt;h3&gt;What It Does&lt;/h3&gt;
&lt;ol&gt;
  &lt;li&gt;Figures out your locale (or allows you to specify it).&lt;/li&gt;
  &lt;li&gt;Finds the file on the FTP server, and then downloads and installs it.&lt;/li&gt;
  &lt;li&gt;Sets up a new profile and modifies the launcher to open the Firefox version with that profile.&lt;/li&gt;
  &lt;li&gt;For versions using the same icon (Firefox 4 and Firefox Beta use the same icon, for example), it adds the version to the icon and name.&lt;/li&gt;
  &lt;li&gt;Changes the settings so future versions (Nightly, Aurora, etc) check for updates regularly while numbered versions (4.0, 5.0, etc) stay where they are.&lt;/li&gt;
&lt;/ol&gt;


        </description>
        <link>http://gkoberger.net/n/firefoxes</link>
        <guid>firefoxes</guid>
        <pubDate>March 7, 2012 14:38:01 PST</pubDate>
        <category>mozilla</category>
    </item>

    <item>
        <title>Usable Context Menus</title>
        <description>
            
&lt;p&gt;Today, Mozilla released a version of Firefox that includes the ability for a website
to add options to the context menu (&lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=617528"&gt;bug 617528&lt;/a&gt;). It has awesome potential, however I had
trouble getting it to do what I wanted.&lt;/p&gt;

&lt;p&gt;I found &lt;a href="http://people.mozilla.com/~prouget/bugs/context-menu-test/test.html"&gt;a demo by Paul Rouget&lt;/a&gt;, however it assumes that there&amp;rsquo;s only
one image on the page. The way context menu has been implemented means there&amp;rsquo;s no good way to figure out what element has been right clicked. The
&lt;em&gt;this&lt;/em&gt; binded to the callback is for the &lt;em&gt;menuitem&lt;/em&gt;, not the element that was right clicked. This works fine if you don&amp;rsquo;t plan on making
more than one element right-clickable. Imagine you have a list of, say, emails. You want the user to be able to right click and delete/archive/star each email
separately. With the current implementation, each email would need it&amp;rsquo;s own &amp;lt;menu&amp;gt; &amp;mdash; and that&amp;rsquo;s a lot of excess code.&lt;/p&gt;

&lt;p&gt;So, I threw together a quick jQuery plugin prototype [&lt;a href="http://gkoberger.github.com/context-menu/"&gt;demo&lt;/a&gt; &amp;bull; &lt;a
  href="https://github.com/gkoberger/context-menu"&gt;github&lt;/a&gt;]. It lets you add menu items using a familiar syntax, and most importantly binds the &lt;em&gt;this&lt;/em&gt;
in the callback to the element that was right clicked (as opposed to the &lt;em&gt;menuitem&lt;/em&gt; that is selected).&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s very buggy and missing important features (such as sub menus, separators, control over ordering and control over events and bubbling). Consider it version 0.1, if you will. However, it makes it very easy to add menu items.&lt;/p&gt;

&lt;p&gt;One thing I didn&amp;rsquo;t want to do is make a polyfill. This will only work in Firefox 8. I didn&amp;rsquo;t want to override the menu bar in browsers that don&amp;rsquo;t
support it. If you&amp;rsquo;re looking for that, a polyfill &lt;a href="http://addyosmani.github.com/jQuery-contextMenu/demo.html"&gt;already exists&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://gkoberger.github.com/context-menu/"&gt;&lt;strong&gt;Check it out &amp;raquo;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;


        </description>
        <link>http://gkoberger.net/n/usable-contextmenus</link>
        <guid>usable-contextmenus</guid>
        <pubDate>November 8, 2011 11:15:01 PST</pubDate>
        <category>mozilla</category>
    </item>

    <item>
        <title>BugzillaJS</title>
        <description>
            
&lt;p&gt;
This morning, BMO (Mozilla&amp;rsquo;s installation of Bugzilla) finally added inline history &amp;mdash; a feature that was sorely needed for the past few years.  A few
Firefox extensions (such as Bugzilla Tweaks and my add-on, BugzillaJS) popped up to fill this void, however it&amp;rsquo;s great that BMO is finally getting it natively.
&lt;/p&gt;
&lt;p&gt;
This is a huge step forward for Bugzilla, however it doesn&amp;rsquo;t mean Bugzilla-related Firefox extensions are obsolete.  Most Mozillians spend a good part of
their day in Bugzilla, and &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/?src=gkoberger_2011_8_23"&gt;BugzillaJS&lt;/a&gt; adds a number of helpful features that make it a much
more plesant experience.  Here&amp;rsquo;s a list of features BugzillaJS has that Bugzilla still doesn&amp;rsquo;t.  (Note: All features are optional, and can be turned off
from the preferences.)
&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Image attachments or links to images are shown inline as thumbnails.&lt;/li&gt;
  &lt;li&gt;View images as a lightbox.&lt;/li&gt;
  &lt;li&gt;Turn timestamps into relative dates (&amp;ldquo;Three hours ago&amp;rdquo;).&lt;/li&gt;
  &lt;li&gt;Styled comments that make the text easier to read.&lt;/li&gt;
  &lt;li&gt;Github commits are shown inline if linked to in the comment.&lt;/li&gt;
  &lt;li&gt;Gravatars next to comments.&lt;/li&gt;
  &lt;li&gt;Add a scroll bar if the text in the comment is too wide.&lt;/li&gt;
  &lt;li&gt;Remove flags, status and blocking options &lt;em&gt;(off by default)&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;Remove access keys &lt;em&gt;(off by default)&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;Automatically select component and product for &amp;ldquo;Clone Bug&amp;rdquo; link.&lt;/li&gt;
  &lt;li&gt;Add &amp;ldquo;new&amp;rdquo; link to depends and blocks fields&lt;/li&gt;
  &lt;li&gt;Don&amp;rsquo;t guess OS or Hardware &lt;em&gt;(off by default)&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;Hide the first comment if there&amp;rsquo;s nothing in it.&lt;/li&gt;
  &lt;li&gt;Option to hide &amp;ldquo;nobody@&amp;rdquo; bugs from bug lists.&lt;/li&gt;
  &lt;li&gt;Remove &amp;ldquo;Bug&amp;rdquo; from the title, so it&amp;rsquo;s easier to see the bug number with a lot of tabs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/?src=gkoberger_2011_8_23_2"&gt;Download BugzillaJS Now!&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;BugzillaJS is open source, so I&amp;rsquo;d love to have you &lt;a href="https://github.com/gkoberger/BugzillaJS"&gt;contribute&lt;/a&gt;.  Currently it only works on BMO
(bugzilla.mozilla.org), however I have plans to support any version of Bugzilla as soon as the Jetpack SDK will support it.&lt;/p&gt;

        </description>
        <link>http://gkoberger.net/n/bugzilla-js</link>
        <guid>bugzilla-js</guid>
        <pubDate>August 23, 2011 00:00:01 PST</pubDate>
        <category>mozilla</category>
    </item>

</channel>
</rss>

