There's an open source project called FireBreath which allows you to write a plugin for IE and NPAPI (Firefox, etc.) from a single codebase. It's a year old now, so it's becoming pretty mature.
Be sure you're looking to develop a plugin though, not an extension. Here's a rundown of the differences.