Tag: Mozilla

Using catch-alls to implement super in SpiderMonkey

Another thing that always been bothering me about OOP in JS is that calling super is such a pain. Some libraries do ugly hacks like checking the source (by calling toString on their constructor and method function objects) and then wrap the original function in another function that encapsulates a variable called super. Other libraries ...

Computed vs Cascaded Style

Most JS frameworks and libraries I’ve seen have a function similar to this: function getStyle(el, prop) { if (document.defaultView && document.defaultView.getComputedStyle) { return document.defaultView.getComputedStyle(el, null)[prop]; } else if (el.currentStyle) { return el.currentStyle[prop]; } else { return el.style[prop]; } } So what is wrong with this you might ask? Lets add some background and then we ...

Tamarin

I guess you all heard that MacromediaAdobe donated their JIT compiler version of JavaScript to Mozilla. Tamarin is the JIT for Action Script 3 (AS3) which is a version of ECMAScript 3rd Edition. Using a JIT should improvement of JavaScript by at least 10x. This is of course very good news. However a lot of ...

JS Generics

With JavaScript 1.6 Mozilla introduced generic version of a lot of the Array and String methods. Without broad support these very useful methods are in reality only available to Firefox and Firefox extension. Personally I’ve become too used to them to survive long without them. I’ve previously posted the JS 1.5 array extras and I’ve ...

Go Glen

This is what Glen Murphy has been working on since he started at Google.

JavaScript 1.6

With the upcoming release of Firefox 1.5 Mozilla have decided to increase their JavaScript version number to 1.6. There are basically three new features since 1.5: ECMAScript 4 XML Array Extras Array and String generics Array and String generics means that some of the methods that are available on Array.prototype and String.prototype are now also ...

For Each Loop in Mozilla

I’m not entirely sure when Mozilla started to support for each loops but I guess it was part of the E4X code checkins. Anyway, I was totally shocked when I saw it and I fired up a quick test. var o = {a: "A", b: "B", c: "C"}; for each (var v in o) { ...

Stop-Reload-Button in Firefox

One nice little extension I usually install on Firefox is an extension that merges the reload and stop button. It hides the stop button when it is disabled and shows the reload button when the stop button is not available. However, the extension is not compatible with DPA2 or the latest nighlies. After installing and ...

Firefox 1.0.3.1?

Firefox 1.0.3 was a serious mistake. It basically breaks any application designed to be used with both MSXML and XMLHttpRequest because it breaks the prototype chain on getters for native objects. For example it breaks Sarrissa, Bindows, WebFX’s XML Extras, WebFX’s IE Emu, some code at Forgetfoo’s site as well as a lot of other ...

Google snags another one (part 2)

Ben Goodger, the lead developer of Mozilla Firefox is now employed by Google. What does this mean for Firefox? Probably not much since he is still working (“devoted”) full time with Firefox, he’s just gettting paid from Google instead of the Mozilla Foundation. What does this mean for Google? This is probably bigger but who ...

Spread Some Love

If you’re like me and could not have survived the onslaughter of spam, viruses and real email without Mozilla Thunderbird you might want to consider giving a donation to Scott McGregor and David Bienvenu.

Simple HTML Parser

I’ve been searching high and low for a simple HTML parser. I need a simple HTML parser, written in JS, that has a SAX like interface so that I can filter out potentially unsafe content. I’ve looked at existing Perl, Java, C (and more) parsers but they are either too much or rely to much ...

Firefox 1.0

This is the best browser since… well ever. Get it now! Alternate address.

Noscript Expand Element

Scott MacGregor wanted some help with improving the way the vCard attachments are drawn in Thunderbird. Since Thunderbird uses the world leading rendering engine he felt that the old way to show the vCard was just too boring. Then TaSK came up with a good looking Photoshop mock-up. However, these have a serious issue and ...

Mozilla Update

It seems Firefox will get its own Windows Mozilla Update. Ben Goodger has put some design documents on his personal web server and I must say that it looks very promising. I just hope that they got som good designers on this. Although I think mozilla.org looks good I think that the update sites should ...

Thunderbird 0.6

Today Mozilla Thunderbird 0.6 was released. I don’t think I would have been able to use email at all if it wasn’t for TB. This version has some very nice improvements but I still think that Scott MacGregor should take a step back do some real polishing. I don’t get the same nice feeling that ...

Mozilla Speedpig

It is time for yet another Mozilla Phoenix name change.

Mozilla Behavior Emulation

Dean Edwards has created an XBL binding that allows Mozilla to use IE behaviors. This is something I’ve thought about doing but I put that on hold because Mozilla does not allow custom style properties. Dean, however came up with a pretty good solution. He uses the id of the binding as the URI to ...

Mozilla is #1

Do a search for “1″ at Google and see that it is not only me that think that Mozilla is the most logical result for this search. http://www.google.com/search?q=1

FeedDemon and Mozilla

I’ve been using FeedDemon as my aggregator lately. Unfortunately it uses IE as the internal browser so I was forced to open up all pages in an external instance of Mozilla Firebird. This works fairly well but it is a bit annoying. However, today I managed to patch FeedDemon to use Adam Lock’s Mozilla ActiveX ...

Mozilla Release Galore

Today the Mozilla Foundation released 3 new milestones. Most anticipated is the Mozilla Firebird 0.7 release but I snatched the Mozilla Thunderbird 0.3 release as well. I did not install Mozilla 1.5 since I have no use for it any more.

TB 0.2 and Blogging

Mozilla Thunderbird 0.2 is out. This version is based on Mozilla 1.5b so it should be even more stable than it has been before (not that it has ever crashed). Main improvements to this build is that it is a bit faster than 0.1. Still it is a bit slow but the features make up ...

I admit. I’m a Nerd

Doing my daily Mozilla/Bugzilla browsing and I found this bug which also links to another bug.

Thunderbird 0.1 is Out

Thunderbird, the standalone Mozilla Mail client, has reached its first milestone. I’ve been using this since day one and it is very stable (and it is only at 0.1) This is the perfect mail client for anyone tired of spam, tired of OE’s lagging IMAP support, or just plain tired of Outlook’s bloat. Of course ...