Saturday, July 19, 2008

Firefox Greasemonkey Outlook Web Access Extension Part III

Other posts on OWAX: [ Part I | Part II ]

I have reverse engineered the way Microsoft Outlook Web Access uses Ajax to mark records read / unread under Internet Exploder and have added similar functionality to my Firefox Greasemonkey Outlook Web Access Extensions.

The code, also shown below, can be downloaded here.

15 comments:

  1. Is there a keyboard shortcut to handle the Contact lookup when you type in the partial contact Name followed by Ctrl + K in the To/CC text fields when you compose a mail.

    ReplyDelete
  2. First of, you freaking rock if you pull this off. This is the ONLY reason why I am still tethered to IE/XP + Outlook.

    That said, I tried this and it didn't work on my setup:

    OWA 2003
    Firefox 3.0.1

    The script installed fine, and Select All/None works. But marking read and unread doesn't change the state of the select messages (tried reloading, etc.)

    I don't have a clue how to troubleshoot, but if you point me in the right direction, I am VERY interested in making this work...

    ReplyDelete
  3. well... that was easy.

    You had a bug on line 113 - it's hard-coded to _your_ OWA server. As a quick workaround, I changed it to my server and the script works great. I'll try to make a good fix and send it to you.

    Thanks for this super cool script!

    ReplyDelete
  4. After a crash course in Greasemonkey and some really cool Firefox DOM inspection tools, that line should use a getBaseHref() ... but you obviously knew that since you wrote the getBaseHref function. ;)

    Thanks again - super cool!

    BTW - do you mind if I continue to hack on this script? There may be some other things I want to do to OWA to make it work better.

    deaston at sbcglobal dot net

    ReplyDelete
  5. @Dan - ugh, thanks for catching my error! I did in fact leave my hard coded URL in there when it should have been using the getBaseHref() function. I have corrected the code above and at the download link. I actually haven't been thinking about OWAX hacks lately because I switched to using fetchmail to forward my mail to a gmail account. Feel free to do anything with the code that you please. I'd be interested in knowing your improvements.

    ReplyDelete
  6. Hi David,

    I've been using your great userscript for over a year now in Firefox, and it has made dealing with my corporate e-mail a lot less painful. Thank you for that! So naturally, when Google Chrome got Greasemonkey support in its latest version, I immediately came over here and installed the script in Chrome. So this is just to let you know that it works fine in Chrome as well. Thanks again!

    ReplyDelete
  7. @Wieland - thanks for that update. I had read that Google Chrome was now supposed to run greasemonkey scripts but no longer have an Outlook Web Access account to test it against. Google must have done a heck of a job making Chrome greasemonkey compatible! Thats cool!

    ReplyDelete
  8. Hi David, and thanks a lot for that script!
    I was looking for the "mark as read/unread" feature for a long time.
    It works great on my corporate OWA and Firefox 3.6

    ReplyDelete
  9. Great little script - thanks - the Read / unread feature makes reading my corporate mail much easier

    ReplyDelete
  10. Great work! Helped me a lot. Had been looking for this for long.

    ReplyDelete
  11. very very nice! you're the man it works like a charm. thanx!
    cheers from Portugal!

    ReplyDelete
  12. It's pity that Mark as unread is not even there after opening a message in OWA.

    Shame on you Microsoft..

    ReplyDelete
  13. Awesome, thanks a million!

    ReplyDelete