Group/Sort Tabs Firefox extension

19. July 2008

This extension adds group and sort support to tabs in Firefox.

8-07-08 In addition to having been approved by Mozilla (hooray!), this project has a new support/discussion/feature page on UserVoice! Please drop by and leave me a suggestion, the site is very easy to use, and no registration required.

The source code and changes are still available on Google Code.

The earlier FF2 version of this extension is "Sort Tabs By ...".

 

screenshot: "Group/Sort Tabs" and ChromaTabs
 
Features
  • Optionally group your tabs by hostname. (More to come.)
  • Sort your tabs by last opened date, hostname, or last browsed date.
  • Intelligently handles the opening/restoration of multiple tabs at once, only sorting when the URL of all opened tabs is known.
  • Sorts tabs immediately upon navigating to a different URL, prior to full page load.
  • Tabs can be manually moved into other groups.

Requirements

Known Limitations

  • The entire host before the first / is matched when comparing host names, so sites with different subdomains (like addons.mozilla.org and developer.mozilla.org) will not be grouped together. This can be undesirable with certain URLs (such as img161.imageshack.us and img299.imageshack.us).
  • You can only manually move a tab into another group if you drop it somewhere in the middle of the group (no edges). I'd like an easy and intuitive method of grouping/ungrouping tabs for the future.
  • Manually rearranging tabs out of the sort order is not a feature of this version. I've worked toward supporting it, but decided to release without it. Also, I may be overestimating its importance.

Recommendations

  • Using ChromaTabs or ColorfulTabs configured to color code your tabs by URL.
  • Similarly the 'close similar tabs' or 'close other tabs from this host' features of Tab Mix Plus and Closy may be useful.

The Elder Scrolls IV: Oblivion Leveling Assistant for optimal stat gain.

1. May 2008

I've been playing Oblivion recently, and it's been fun, but I was slightly irritated with the leveling system, so I fixed it.

Here's an overview of how (power?) leveling works in Oblivion:

You select 7 "major skills" and the rest become "minor". Skills advance as you use them. Major skills are no different from minor except for an initial bonus and every 10 major skillpoints gained is a new level, at which point you must sleep in a bed to level up and continue gaining skillpoints. Leveling up has you select three of your stats to increase by respective bonuses, but here's the catch: the bonus depends on your advancement in the three skills related to the stat.

This leads to a sort of reversal of priorities. Your "major skills" are more of the opposite, as you postpone them, and thus leveling, to achieve the necessary gains in "minor" skills to maximize the stat bonus when you do finally level. Selecting your least naturally used skills as major skills is in fact to your advantage. A bit strange, but not a dampener on the fun - you can, after all, go all out in the 14 other skills without fear of accidentally leveling and botching your stat bonuses.

There is quite an annoyance with this approach though. Once you reach the maximum +5 bonus in a stat, skillgain in that area is no longer worth your time until you level up (you'd only be advancing a skill, instead of a skill and a stat) - and aside from gratuitous number keeping, there's no way to see exactly how close you are aside from leveling up, noting the advancement screen, and then restoring to an earlier saved game. Something which becomes extremely tedious considering you must advance to just prior to leveling, save, travel to a bed, use a skill to reach the level point, sleep, level up, pick 3 stats and confirm so you can get to open the main menu, and then restore to your saved game.

An annoyance until now anyways! Enter: Oblivion Leveling Assistant.

Utilizing the ever helpful and entertaining Cheat Engine, I put together a little AutoHotkey program which displays the current points you have towards a stat since your last level. It takes 2 skillpoints for a +1 stat bonus, and +5 is the maximum, so all you need to do is focus on reaching a value of 10 (or more, but don't waste too many) in the three stats you would like to apply the bonuses to before you gain that last major skillpoint, and that's it. Be sure to put those 10 required major skillpoints towards the stats you'll be selecting as well, or you'll be doing extra work!

The Elder Scrolls IV: Oblivion Leveling Assistant

The Elder Scrolls IV: Oblivion Leveling Assistant Compact Mode

 

This was a tricky update, so if clarification is needed ask me in the comments.

5-08-08 There's also at least a few mods for Oblivion which overhaul the system to something more acceptable, these might be a lot more useful so you should check them out. (Especially if you play fullscreen and/or use a single display.) Take a look at other mods as well, there's sure to be some you'll consider essential.

I also only just discovered the UESPWiki and its wealth of Oblivion and Elder Scrolls information (including much more in-depth leveling guides), so hopefully I've learned GameFAQs is no longer the one-stop-shop in this new wiki world.

General productivity enhancements for Vista (and XP): Taskbar

17. November 2007
This is the first installment of my own personal list of general productivity enhancements for XP/Vista, many of which involve small, resource friendly 3rd-party tools.  My general criteria for OS supplementation tools is as follows: They should be simplistic, small, and speedy.  It's not much use if it doesn't feel as if it's a part of the operating system itself.

Unfortunately problems and incompatibilities can arise, and there will be a section at the end to address these.

The Taskbar

If you're like me you would prefer to have all of your notification area icons visible.  However you may find yourself with less than sufficient room on the taskbar for the tasks themselves.  This is especially true if you have a rather wide quick launch area - which can be very valuable, as you'll see in a moment.  Some attempt to alleviate this issue by expanding their taskbar to two separate rows, but the additional bulk at the edge of your screen isn't very pleasing, nor will your pointer movement be as precise now that you've introduced a soft edge instead of the single hard edge of your monitor.

Likewise XP/Vista's similar task grouping feature has always struck me as a rather primitive and ineffective solution since you lose quick access to all of your tasks.

A very neat way of opening up space on your taskbar is to move minimized windows to an auto-hidden dock using RocketDock: a minimally intrusive, adequately configurable, speedy little Apple-esque application dock.

Configuring RocketDock version 1.3.5 as a Minimized Window Dock 

RocketDock in action as a minimized window dock.

Although RocketDock is primarily an application launcher, it can be configured to only display minimized windows, as well as be out of your way.  Windows minimized to the dock are not displayed on the main taskbar.

I went to the trouble of exporting my RocketDock registry settings and comparing them to the defaults.  What remains is a Windows Registry file of only the relevant settings for the particular transformation you see pictured above.  I have annotated each of the settings in the file, and you may download it here: RocketDock v1.3.5 minimized window configuration.reg (3.07 kb)

I strongly advise that registry files from every source be previewed in a text-editor before being imported to the registry, due to the awesome and unchecked power that registry modifications can have on your system.  Previewing the above file you should be able to note that the only registry key affected is RocketDock's current user settings at HKEY_CURRENT_USER\Software\RocketDock.

Be advised: Holding the Ctrl key when minimizing a window is designed to bypass minimizing to the dock.  Holding Ctrl+Alt+Shift will toggle whether or not to minimize that window to the dock normally (these are stored in the registry as the process and window class names I believe).

2-16-08 On Windows Vista systems RocketDock utilizes Desktop Window Manager (DWM)'s public API for reliable live window thumbnails. However, rather unfortunately, in this mode the application's icon is no longer overlayed on the thumbnail. If you can stomach semi-frequent inaccurate thumbnails, then adjust RocketDock.exe's properties and enable Windows XP compatibility for the old (and in my opinion, more useful) behavior seen in the updated screenshot. Or, as I will be doing, you could register with RocketDock's bugtracker and gently persuade PolyVector to add the icon overlay to Vista DWM thumbnails as well.

Your taskbar is on the wrong edge

Taskbar at top of screen, near application menus.

This may be a subject of contention, and you should of course use whatever you prefer, but in my opinion the taskbar is on the wrong side of the screen.  It should be on the top, not the bottom.  Although perhaps jaded from all of the separate versions of Windows happily placing the taskbar at the bottom, I had a moment of clarity in which I questioned the traditional, and I moved beyond.  Why is the top edge the better edge?  The reason is fairly simple: that's where everything else is.  Application menus and buttons have a long history of residence near the top, as well as address bars.  I find it preferable that my eyes and pointer need no longer unnecessarily traverse back and forth between edges.

Now it's true that this will place a buffer between the top edge and maximized windows - potentially slowing down the time it takes to target the titlebar (for double-click restoring) or the window buttons, but I find those too slow anyways, and don't use them (subject of a future post).  (Also, maximized windows aren't quite as useful as they once were.)

Use a persistent stand-alone OS toolbar for mouse application launching

A persistent stand-alone OS toolbar.

The Quick Launch toolbar is underrated.  What appears to be a small space for launching a few specific applications in an unorganized manner need not be any of these things.  It is rather apparent that the quickest application launching possible with the mouse alone would require the least input and thought from the user.  The start menu is not in the least suitable, requiring far too much scrolling, clicking, and searching for company branded folders, all with the same generic folder icon.  Quick Launch is always immediatly present and visible (unless you use autohide) and it's a one click solution.  Once we've learned to associate an icon with its respective purpose they are much faster to process and far more compact than text.

Unlock your taskkbar if it's locked (context menu).  On XP you could simply grab the Quick Launch toolbar by its border and drag it anywhere you would like - leaving it as a floating toolbar, docking it against an edge, or adding it to an existing toolbar.  On Vista you can't drag around toolbars like this - but you can drag the folder itself to an edge to create a toolbar, and then as in XP, add additional folders to this toolbar with Toolbars in the context menu.

So to give Quick Launch its own stand-alone toolbar in Vista it may be fastest to right click the current Quick Launch toolbar, select Open Folder, navigate up to its parent, and then go ahead and drag "Quick Launch" to an absolute edge of your desktop.  Be careful not to drop the folder on your desktop itself.  Note that there is no cursor change or other indication for this, which is a bit bizarre.

On my 22" widescreen monitor at 1680 x 1050 resolution I can fit a maximum of about 70 icons across the bottom (the natural place for the toolbar, since my taskbar is at the top).

"Now wait a minute Chris.  70?  You said organized."

70 maximum.  Use as many program shortcuts as you find agreeable, and would like to launch in a single click.  For everything else there's a two click solution:

Never navigate your start menu again: Quick Launch pop up menus

My menuApp configuration as an example.
You can view a little video of my full configuration for organizational ideas.

I know of two beautiful universal pop-up menu applications.  ShortPopUp and menuApp.  They both operate the same: they show a pop-up menu of the contents of the folder in which they are run.  Therefore creating a shortcut to either of these programs and specifying a folder full of shortcuts (or files) as the folder to "Start in" yields a fantastic menu for your toolbar.  There are essential differences between the two.

menuApp v1.04

Pros: very fast with a background server and cache (but server crashes under Vista)

still faster than ShortPopUp under Vista with server disabled

easily use separate configurations in one ini file

very little configuration, would "just work" if not for the Vista problem

support for special folders, like a task list

never displays shortcut arrow overlay on menu items

sorting always works

Cons: context menu problems for menu items (untested on XP): Properties doesn't work, Delete doesn't give a confirmation, etc.

non-shortcut file extension text is always visible ".txt" etc. (if bothersome you can always create shortcuts to work around this in small instances)

ShortPopUp v4.1

Pros: highly configurable: display, sorting, etc.

easily use separate ini configurations 

invalid shortcuts display disabled

can access Properties, etc. of menu items through context menu

easily hide any or all file extension suffixes

little bits of humor in the documentation (okay, this doesn't count

Cons: context menu problems for menu items (untested on XP): they can't be escaped/dismissed without a selection, and selections click through to the underlying menu

can't hide every shortcut arrow overlay

slower than MenuApp

requires configuration (default is very bare bones, no icons, etc.)

sorting seems to fail in several cases, I have yet to understand why, different sorting configurations don't seem to fix it

 

When I made my decision between the two some time ago, I believe I chose ShortPopUp, configured to be quite similar to menuApp, because it was more stable.  I seem to recall that menuApp would not work at all in some common cases unless I used Vista's compatibility mode - but this slowed it down.  However, while compiling this list I deleted menuApp's configuration file and allowed it to be recreated (there was at least one peculiar entry in there), and I also have Windows Aero enabled (having it disabled has given me compatibility problems before).  I compared each of my menus with each program, and menuApp's speed is just too appreciated; it is my tool of choice. 

Middle click close and rearrange tasks with Taskbar Shuffle

Repositioning my 'Downloads' folder task with Taskbar Shuffle.

Taskbar Shuffle is a fantastic lightweight tool which enables you to rearrange tasks with drag and drop, and most importantly, middle click close.  (If you don't already use the middle mouse button to open and close tabs in your web browser, you may want to start.)  Taskbar Shuffle also provides the means to rearrange notification area icons via holding down Ctrl.

A small issue or two, which may or may not apply to you

Unfortunately there are some minor problems with these recommendations.

  1. Upper edge taskbar: Many programs attempt to be helpful by positioning themselves at the very top of your screen in an unintelligent manner.  If your taskkbar is at the top edge then these windows will be obscured and you'll have to resort to using the keyboard to reposition them (or temporarily repositioning the taskbar).  Right click their task in the taskbar, select Move, and press a directional arrow key on your keyboard.  The window will now be attached to your mouse and free to reposition.  (As Alt+Spacebar opens the same menu for the focused window, I tend to use Alt+Spacebar+M+directional arrow.)

    I'm sure this can in fact be automatically worked around with an AutoHotkey script for instance.  Since I have a bit of a love affair with AutoHotkey I don't find this too inconvenient of a solution, and will likely whip up a script when I have time.

  2. RocketDock and UltraMon: Unfortunately the extremely helpful Move window to next monitor hotkey feature of UltraMon (which isn't discussed in this entry) has a very annoying issue with RocketDock, where windows, while technically moved, are minimized to the dock.  Neither program is really to blame for this problem.

    I indeed crafted an AutoHotkey script to fix this, but then realized a much simpler solution was to include Ctrl (but not Ctrl+Alt+Shift, see above) in the hotkey, since minimizing a window with Ctrl bypasses RocketDock.  So that's an easy fix.  However, since this means Ctrl must be held down until the window is minimized, you can't make a mouse binding (or some other automation) which rapidly sends the hotkey and expect it to work.  Since I use a mouse binding I may be resurrecting an extremely simplified AutoHotkey script which merely waits for the minimization before releasing Ctrl.  3-25-08 Fix available here.  Requires AutoHotkey.  Modify the opening lines for your (true) hotkey and UltraMon's, respectfully.  It even refocuses window controls beyond UltraMon's ability.

Investigating Vista's broken file type indexing dialog à la Mark Russinovich

8. October 2007

So the Thursday before last I set out to configure Vista's file indexing to only index file extensions of type lnk and exe, as I already had it configured to only index the locations on my computer which contained program shortcuts, but I wanted to extend these locations to include a folder of standalone executables and launch them from my start menu as well.

 But lo, I encountered this:

truncated Vista File Indexing Advanced Options dialog

Just where exactly did all of my file types go?  You can see from the screenshot that the list stopped at .ado.

Well, like any good Windows troubleshooter, I turned to Sysinternal's essential Process Monitor.  I re-opened the file type dialog, this time with monitoring enabled, and performed a search for the last file type on the list, .ado.

Process Monitor log with .ado and .adobebridge highlighted; .adobebridge 'Access Denied'

As you can see from the lines I highlighted in the screenshot above, Vista was failing to read the next file extension in the list, .adobebridge, and presenting an Access Denied error.

Using Process Monitor's oh so useful Jump To... context menu feature, I jumped straight to the registry key having difficulty, and sure enough:

Error Opening Key: .adobebridge cannot be opened.  An error is preventing this key from being opened.  Details: Access is denied.

How interesting.  Using the key's context menu to view and modify its permissions presented me with this amusing (but accurate, I suppose) little message box before presenting the actual Permissions dialog.

  Windows Security: You do not have permission to view the current permission settings for .ado, but you can make permission changes.

Using the Ownership tab under Advanced to take ownership of the key allowed me to see the permission settings:

Permissions for .adobebridge: No groups or users have permission to access this object.  However, the owner of this object can assign permissions.

As you can see, there are no permissions set at all.  Adding the Users group and granting them Read privileges was enough to fix the dialog, but it takes write privileges to be able to actually toggle indexing on and off for the file type, so I made sure to add the Administrators group and grant them Full Control.  (UAC prompts you to allow the Advanced settings dialog to be launched with administrative rights when you first enter it, as denoted by the icon on the button: 'Advanced' button with UAC shield)  As it turned out that there were a dozen or so other keys the dialog choked on which required the same modification.  They didn't all have blank permissions, but none of them had read access for my account.

I'm not sure what's broken here, perhaps the software or installers which added these file extensions did so improperly, or maybe it was intentional and they didn't realize the entire file type indexing dialog would break when it was denied access.  Either way I would gander that the dialog behavior is most certainly a bug.

Unfortunately I'm not an expert when it comes to Windows Permissions setting, as I've never interacted with them on more than a casual basis, and I've done very little in the way of inheriting and propogating permissions, so I'm curious about the most appropriate and efficient solution to a scenario like this.   Include inheritable permissions from this object's parent was enabled for the registry keys with the problem, and other working keys claimed to be inheriting permissions from their parent, but I looked at the permissions on HKEY_CLASSES_ROOT and there appeared to be none to propogate.  So perhaps that is not their parent?  Any revealing information would be welcome.

(Note: Mark Russinovich of Sysinternals does an ever enlightening job of educating us on Windows internals, making copious use of Process Monitor in the process.)

"Sort Tabs By ..." Firefox extension

31. August 2007

7-19-08 A newer Firefox 3 compatible version of this extension has been released. Take a look at my new version, as well as the Tab Kit extension, and see if you can find what you need. ;)

2-16-08 Before I began developing this extension (my first) I did an extensive search to be sure one didn't already exist with similar functionality. Not until I was ready to upload it to Mozilla did I learn of the add-on sandbox. After registering I searched the sandbox for a similar extension, and one did indeed exist: Tab Kit. I tried it but it didn't seem to work so I felt better and made this original post. Not long after, however, I tried it again without Tab Mix Plus and it worked beautifully. I have this to say: Tab Kit is fantastic. It is amazing, and it has every feature I had planned for my own extension and beyond. I would be lost without it; I love it. Do yourself a favor, and download Tab Kit instead. If you'd like something simpler but less featured, use mine described below.

screenshot: "Sort Tabs By ..." and ChromaTabs   

See this nifty screencast for a demonstration.

Features
  • Sorts your tabs by domain/host name, or last browsed date.  (More to come.)
  • Optionally space out groups of tabs.  (You can color the spacers too, but it's not very pretty. ;)
  • Intelligently handles tab restoration, only sorting when all tabs have been restored.
  • Intelligently handles the opening of multiple tabs at once, only sorting when the URL of all opened tabs is known.
  • Sorts tabs immediately upon navigating to a different URL, prior to full page load.
  • You can freely drag and drop tabs to other groups.

Requirements

  • Firefox 2.0 (I may lower this to 1.5, I haven't decided yet.)

Known Limitations

  • Currently the entire host before the first / is matched when comparing host names, so sites with different subdomains (like addons.mozilla.org and developer.mozilla.org) will not be grouped together.  This can be undesirable with certain URLs (such as img161.imageshack.us and img299.imageshack.us).  The ability to customize this behavior will be in the next version.

Combine this extension with Justin Dolske's ChromaTabs for the elegant tab coloring seen in the screenshot and screencast.

Also, combine this extension with the 'Close Similar Tabs' feature of Tab Mix Plus (and some others) to close all of the tabs from one site at once via the tab context menu.

 

Install "Sort Tabs By ..." v1.0

.. and unto the public I emerge!

31. August 2007
I recently wrote a Firefox extension of such usefulness that it has finally forced me to break my habit of never getting around to releasing any of my projects publically.  So I purchased some ASP.NET hosting, installed BlogEngine.NET, configured the default theme to be less annoying, spent many hours pulling the Slug feature from the latest in-development verison of BlogEngine and adding it to the 1.1 release, and here we finally are.  Slugs and all.  Why didn't I just run the development version?  Well, I tried, but had issues.  I might still, or I could just wait until 1.2's official release planned for sometime in September.

It will be some time before the rest of my projects can showcase themselves, but at least now they will have a home.

And it will also be some time before this blog is precisely how I'd like it, but at least I have the power to shape it, and having already delved into BlogEngine's source code once, I should be in good shape myself.

Now let's look forward to the coming attractions. ;) 

Powered by BlogEngine.NET 1.3.0.0. Content © 2008 Christopher S. Galpin


Author

Christopher S. Galpin

E-mail me Send mail

Recent comments