A few Firefox & Thunderbird Snippets

December 13th, 2014 No comments

I recently started using the keyConfig plugin, a very old plugin for XUL which basically lets you change keyboard shortcut assignments.

It also happens to let you create your own with a bit of JS. A couple of features that I wanted keybound weren’t easily available, so here are snippets for two of them:

Firefox – Lastpass – Open toolbar button search

In my case I then unbound Alt+W from the lastpass Advanced Site Search dialog and re-bound the key to my new code snippets.

Thunderbird – Forward as Attachment

A couple of simple snippets to get the job done.

Categories: Addons, Development, Mozilla Tags:

Firefox Preference Mapper & Update Functions for Firefox Addons

July 19th, 2013 No comments

A few functions I recently wrote for SnapLinksPlus which make working with preferences nice and simple.

The simplicity of the above, no type handling, just ask for the preference and you’ll get it.

The previous code segment lets you simply define a multi-level hierarchy which maps directly into the preferences. The values specified in the map are registered as the default values on creation, a sample usage:

Lastly, SnapLinksPlus had several ‘versions’ of preference locations and naming conventions, so I also created an updater which can be used to specify old and new locations as well as translations from previous to new values.

Example Usage:

Lastly, the PreferenceExtension requires a bit of code, namely the .wrap() function:

Going Paperless

February 22nd, 2010 1 comment

This is a slight rant about the trend of “going paperless.” I think the trend is great, it benefits the planet in reduction of toner, paper, etc. It benefits the companies in that it reduces costs, in terms of mail, toner, paper, etc.

The problem that I have with “going paperless” is the convenience, or rather the inconvenience of being paperless. These companies are happy to send you a notice indicating that your paperless statement is ready for viewing. Unfortunately when you have 10 to 20 accounts that are paperless, this means 10 to 20 accounts you need to log in to just to see your bill. This is a huge inconvenience.

In addition to that, many companies will only save your statements for a few months or possibly a year. What good are electronic records that expunge themselves?

The real solution is to email the actual document to the customer, this brings up the issue of the lack of security built-in to most email systems. While there are security measures that are available to most mailing systems they are not always available.

What do you think? Is the current situation with “going paperless” convenient enough for you to make the switch? Thus far it has not been for me.

Categories: Uncategorized Tags: