Style wechseln: ?

Für diese Funktion muß JavaScript aktiviert sein.

wechseln zur deutschen VersionX-Mozilla-Status(2) explained :: Mozilla-Features :: Mozilla vs. Antivirus :: Mozilla-Links :: Mozilla-Applications


This page is named “Mozilla Applications” where “Application” means any application that runs and relies on the Mozilla.org framework. Not that I’m megalomaniac, but I don’t know what things I’ll write in the future and want to prevend later renaming of this page. For now it’s only about extensions (or even more precisely ridiculous four extensions) using the extension mechanism of SeaMonkey, Firefox and Thunderbird.

Mozillas—so far quite controversial discussed—decision of rapid release train of only six weeks also the extension developers work has become a bit more difficult. Or it became a bit mor hectic respectively if one wants to keep at it. Mozilla did some work to easen an authors live again (especially for extension being hosted on AMO).

But I still hope you to excuse it if I forget bumping compatibility of the extensions here on my server though I strive not to do it.

Please note that purely bumping compatibility for the browser doesn’t mean issuing a new version and thus no activity on this page or change of the .xpi file. In this case signalling compatibility to the application happens via a control file on my server.

GetFileSize :: INFOCon-Status :: toggleReplied :: DlmgrButtons :: FxIF


GetFileSize

GetFileSize is an extension for Mozilla and Firefox to display file size and more usefull infos about files behind any link. And it’s something more, viz stolen—ok, at least the idea. UnH Solutions offers with “Get File Size” an external program that does what my GetFileSize also does.

So why am I doing it again then? There are two reasons:
1. It’s a nice exercise.
2. The original is indeed freeware, but only available binary, only for Windows and it only works with IE and Opera.

As for INFOCon-Status, the basis for this extension is provided by the function XMLHttpRequest(), only is the code and the UI here somewhat more complex.
The only thing GetFileSize does in the net is sending a HEAD request and analyzing the received infos. A example request can look like this:

HEAD /files/hhgttg4pdb.zip HTTP/1.1
Host: www.eyrich-net.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8a5) Gecko/20041124
Accept-Language: de,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

The parameters Keep-Alive, Accept-Charset as well as the HTTP version used depend on the global browser preferences. Through the usage of HEAD instead of GET only the header data is requested, not the file itself (at least if the server complies the HTTP standards.).

Installation & Usage

The installation should be simple. You can either download or install the extension from here: GetFileSize-0.2.4.xpi (right click and “Save Link Target As…” to download).

Suite users will get it installed in the current profile. For Firefox the extension manager is used—that means a clean way to install/uninstall and at least currently also installation in the profile.

The extension is delivered with strings in english and german. Should you be able to provide translations for additional languages, I’d be pleased if you could drop me a mail.

GetFileSize InfodialogUsing the extension is also simple, but since it’s only version 0.1, there surely is room for enhancements. I’ll also explain the preferences. Upon a right click on a link the new entry “GetFileSize” is added to the context menu. A click on it sends the request about that link to the server and brings up the dialogue on the right after the response.

It contains infos about the whole URL, which can also be changed. With the button aside of it, I hope it will be possible to directly start downloading the file in future versions.
The informations displayed cover the file name, the size—converted to KiB and MiB—, MIME file type, the time of last modification and the estimated time needed for download. Last info is only displayed if activated in the options.

Options

GetFileSize options dialogueThe preferences contain change resp. activation of output of the last modification as well as estimated time for download.

Adjust Last Modified: The HTTP header “Last-Modified” normally looks like this: “Sat, 01 Jan 2005 11:03:22 GMT”. So firstly it’s english (while this is only noticeable for weekday and somtimes the month) and secondly it’s in the timezone GMT (i.e. UTC, see Wikipedia: Coordinated Universal Time), which more or less differs from the users timezone.

This option now offers the possibility to adjust the time supplied by the server by a fix amount of hours when displaying it. In fact the extension also could adjust it to your machine’s timezone, but the free amount is more flexible. In the dialogue the adjustment then is displayed as for example “GMT-0800” (for Los Angeles).

download time estimation: Some users prefer to be provided with the estimated time needed for a download. Big download sites list a few periods for users with a 14,400bps modem up to T1 cable for this reason. With the speed you provide here, GetFileSize can also show something like this. So if one can’t imagine how long the transmission of the 2.35 MiB file will take, enters the “81920” bytes per second the own 1000kbps DSL connection gives you on the average, and gets “30.08 seconds” in the dialogue.

You can enter a pure number, but also with the suffix “k” resp. “m”. GetFileSize interprets that as bytes/s, resp. KiB/s and MiB/s. The output is always in bytes/s.

Note that the result is pure calculational, so depending on the real connection it can considerable diverge. And even if the value entered complies with the transfer rate of your connection, a slow server can make the whole nice computation useless.

The options chosen are saved within the own branch „getfilesize“ in the prefs “doLmodAdj”, “lmodOffset”, “doDlSpeed” and “dlSpeed”.

History

Version 0.2

Version 0.2.1

Version 0.2.2

Version 0.2.3

Version 0.2.4

INFOCon-Status

INFOCon-Status is an extension that displays the Internet Storm Center’s INFOCon status in the browsers status bar.

Doing this was inspired by todays visit of the ISC. Though they’ve done a good job in providing a number of possibilities to stay up to date on the INFOcon status, I missed one simple and OS independent one. Knowing the tinderbox status extension I felt like I must adapt this for the ISC.

Installation & Usage

Both should be very simple but since it’s version 0.1.5 there surely is room for enhancements. You can either download or install it from here: infoconstatus-0.1.5.xpi (right click and “Save Link Target As…” to download).

Suite users will get it installed in the current profile. For Firefox the extension manager is used—that means a clean way to install/uninstall and at least currently also installation in the profile.

INFOCon-Status screenshotUsage should be clear. A new box is added to the status bar that shows “ISC” and one of four colors in the background. For what the colors mean refer the page about the INFOCon-Status. A click on the box opens the ISC website in the current window (and tab).
The status will be re-checked every 10 minutes. The traffic produced is ca. 800 bytes and thus should carry no weight.

History

Wow, I really got it managed putting a bug into version 0.1. One shouldn’t rename the functions in the nick of time …

Version 0.1.1

Version 0.1.2

Version 0.1.3

Version 0.1.4

Version 0.1.5

Version 0.1.6

toggleReplied

This Extension adds the three new entries “As Replied”, “As Forwarded” and "As Redirected" to the mark submenus. This allows to conveniently set or remove these states. Mark submenus can be found in three places: in the right click context menu in the thread pane, in the right click context menu in the message pane and in the Message menu.

Installation & Usage

You can either download or install it from here: ToggleReplied-0.4.xpi (right click and “Save Link Target As…” to download).
Alternatively it’s available on addons.mozilla.org.

For simplicity only the install mechanism of SeaMonkey version 2 (more precisely 2.0a1pre) and upwards is supported. Since this version also SeaMonkey contains an Add-on manager and supports the same mechanism as Firefox and Thunderbird. Thunderbird is supported from 1.5 upwards.

ToggleReplied screenshotUsage should be also clear. The two new entries work exactly like you’re used from the read state. If a message is already marked as read you see a check before the menu entry and clicking the entry results in removing the state. Otherwise no check is shown and clicking the entry results in setting the state. In this mechanism interpretation of the current and therefore the new state depends on the topmost selected message if there are more than one selected. This might not be to everyones liking, but since it’s implemented like this for the read state by the Mozilla guys, I kept it that way in order to not confuse someone.

History

Version 0.1.1

Version 0.2

Version 0.2.1

Version 0.3

Version 0.3.1

Version 0.3.2

Version 0.3.3

Version 0.4

DlmgrButtons

Downloadmanager1.x-Screenshot

My so far most simple extension but one which fixes a—according to bug 497382 not only from my point of view—stupid alteration in SeaMonkey 2. In SeaMonkey 2 the user interface of the download managers was overhauled. One of the changes made is the removal of the button bar from which one easily and fast could open/execute an entry or open the containing folder of an entry. In the new download manager this is only possible via the context menu.

DlmgrButtons-Screenshot

So my extension just retrofitts these two buttons. Regarding the design I comply with the new UI and use the same look like the Clear List button. Also the texts used for the buttons are taken from the ones of the context menus, this way the extension is always localised without implicit localisation, though they might be a bit long for button texts.

You can either download or install it from here: DlmgrButtons-0.1.xpi (right click and “Save Link Target As…” to download).

FxIF

This one’s living on its own page now.

last modified 2013-01-20
© Christian Eyrich
main page | webmaster