Microsoft Activities for Firefox - New Version

I have an update for Activities that adds preview and fixes some bugs. If you just want that, skip to the end of the post.

One of the things I realized as I worked on this extension is just how amazingly easy it is to write Firefox extensions. When you combine great technology (Firefox extensions), great people (like Mark Finkle, for example), great documentation (developer.mozilla.org, XULPlanet) and open source, it's amazing what you can produce and how fast you can produce it, as noticed in Compiler from Wired.com.

Compare this to my experience with Internet Explorer.

One of the things I wanted to do with Operator was make a version for Internet Explorer. I spent a few weeks trying to find good documentation on creating a toolbar for IE, and I have to say it was sorely lacking. I got a basic HTC working, but compared to my experience working on Firefox extensions, it was just SO painful, I gave up. I realize I'm not a Windows programmer, and that might have helped, but I just couldn't believe how hard it was to create extensions for IE. It's not even called a toolbar, it's called a a toolband which started me off in the wrong direction!

In a way, that was kind of sad because I was feeling like my focus on web development and in particular Mozilla and Firefox browsers was limiting my skills so that when it came to things like Windows development, I was at a disadvantage. (I've been working in the browser space and the development of web browsers for over 12 years). Hopefully, though, what I've actually done is cultivated a set of specialized, but very useful skills so that when other opportunities come up, I'll be able to take advantage of them. Especially since it seems like my work at IBM is requiring less and less of those Mozilla/Firefox skills.

So all that to say, I've thoroughly enjoyed working on the Microsoft Activities extension and the other extensions I've done and I hope that there will be more opportunities to do that, whether inside or outside IBM. Maybe I'll have a chance to talk to some folks about that at SXSW this weekend.

On to the new release. Version 0.3 of Microsoft Activities for Firefox is available (make sure you didn't grab the 0.2 that was up for a few minutes this morning). Features include:

  • Preview mode (only in FF3)
  • Problems adding services in FF3 have been fixed
  • Issues with query parameters fixed (all current services have been tested)
  • UI is updated immediately when a new service is added
  • Activities menu identifies the context you are acting in, and activities are limited based on that context (selection, link, document)
  • Built-in link to take you to the IE8 Service Gallery
  • Verified it works on Mac OS X

Interaction with the preview window is a little quirky, but I'm working on that. Surprisingly it seems to work better than IE8.

Enjoy!

75 Responses to “Microsoft Activities for Firefox - New Version”

  1. Gabriel March 7, 2008 at 3:33 pm #

    Thanks!

    One bug: Doesn't seem to work if you select a link (such as SXSW).

  2. mkaply March 7, 2008 at 3:43 pm #

    Can you define "doesn't work"

    If you mean you don't get any actions, that's possible.

    Activities are specified to work with a certain context (link, selection, document) so if you don't have any actions installed that work with links, you won't get any actions.

  3. Gustavo March 7, 2008 at 5:59 pm #

    Thank you. This version works perfectly in my 3.0b2 version!!!

    But... Where is suposed to be shown the preview?

  4. mkaply March 7, 2008 at 6:10 pm #

    The way the preview works is that some things show a little window when you hover over the link. The maps are a good example.

  5. Pau Tomàs March 7, 2008 at 7:18 pm #

    Preview seems to not be working for me (Latest Nightly on Leopard). Nothing appears when I keep the mouse over the activity menu item.

  6. mkaply March 7, 2008 at 8:40 pm #

    @Pau: FF2 or FF3?

  7. Gabriel March 7, 2008 at 8:54 pm #

    Oh ok. I only had the encarta and msnbc activities installed and when I selected a link and right clicked, none of them showed up. I guess those scripts aren't meant to work with link selections. Odd.

  8. Pau Tomàs March 8, 2008 at 5:38 am #

    @mike FF3... well, Minefield 3.0b5pre

  9. Damian March 8, 2008 at 10:48 am #

    Hey, nice work, so you know I've made a bug about natively supporting Microsoft Activities:

    https://bugzilla.mozilla.org/show_bug.cgi?id=421218

    I don't know where this wanted or not, but I thought it best there be a bug there so that there's something to refer to if people want it later down the road. Feel free to edit it to your hearts content if you feel something needs changing.

  10. Dan March 8, 2008 at 10:31 pm #

    Thanks for trying to fix the security error I was having but it still doesn't work. :(

    Security Error: Content at javascript:window.external.addService('OSDFiles/StumbleUpon%20find.xml'); may not load data from http://ie.microsoft.com/activities/en-en/default.aspx.

    This pops up in the error console whenever I try to add a service.

  11. Dan March 8, 2008 at 10:32 pm #

    Hopefully FF3b4 will be out in a day or two, that should make everything work nicely.

  12. Dan March 10, 2008 at 8:42 pm #

    I just installed 3b4 and tried out installing activities again, still getting the same error. I'm gonna see if maybe it's conflicting with something in my profile.

  13. Dan March 10, 2008 at 9:03 pm #

    I figured out what the problem was... it seems to be some sort of conflict with the latest version of the ScribeFire extension (with the compatibility and security checks in Firefox 3b4 disabled, of course... it worked fine in b3 although seems slightly broken now in b4). Maybe you could take a look at it to see why this is happening?

  14. mkaply March 11, 2008 at 10:59 am #

    The ScribeFire problem is interesting. Somehow their component registration is interfering with mine, but for me, it's only the first time. If I restart the browser i work.

    Going to take some investigation...

  15. Jeff Garner March 11, 2008 at 3:27 pm #

    You mentioned porting operator to other browsers. Will you be porting it to safari any time soon? I'll probably be just as easy as firefox since safari is also open source.

  16. Jocko March 11, 2008 at 4:12 pm #

    Using the translation just brings me to the translation page without having my text I selected with me. I have to copy the text then go to the translation activity and paste the info in manually. FF 2.0.0.2...

  17. Kevin Dente March 11, 2008 at 6:54 pm #

    Awesome. I knew it wouldn't be long before the FF community provided this.

    However, preview doesn't seem to work for me on FF3.0b4. Nothing appears on hover.

  18. vinitneo March 11, 2008 at 8:24 pm #

    The preview is not working. I hovered over map with live maps, nothing happened. What should I do?

  19. mkaply March 11, 2008 at 8:57 pm #

    I'm really confused. Preview is working for me on beta 4.

    Can you turn on

    javascript.options.showInConsole

    in about:config and see if there is an error?

    Maybe an extension is conflicting?

  20. Comment March 12, 2008 at 7:26 am #

    amazing work!!

    please urlencode the selected text.
    or add ".replace(/[\r\n]+/g, "%0A");" to line 307 in activities.js (adresses often contains line breaks!)

    THANK YOU

  21. Kevin Dente March 12, 2008 at 1:18 pm #

    No luck. Didn't see any errors in the console. And I tried on a profile with no other extensions installed, and it still didn't work.

  22. Product Support March 12, 2008 at 2:26 pm #

    How do you remove activities that you have added?

  23. vinitneo March 13, 2008 at 2:13 am #

    @ mkaply I don't know, but some others are also experiencing the same problem problem. Please find the solution soon.
    THANKS

  24. Matthias March 13, 2008 at 8:01 am #

    Cool!

    Please post this on AMO (https://addons.mozilla.org).

  25. mkaply March 13, 2008 at 10:02 am #

    For the folks having trouble with Preview.

    1. You must be using FF3 Beta 3 or later.

    2. Please put this URL: chrome://activities/content/preview.xul in the browser and tell me the results you get.

    3. Please post browser version and platform.

    For folks having trouble installing the activities. Unfortunately this is a FF bug. The actions should be installable on the second invocation of the browser.

    The next version will only work on FF3 Beta 4 and will have a fix for this problem.

  26. vinitneo March 13, 2008 at 8:35 pm #

    I got a blank page when I tried it..so what is wrong? and I want to make a few suggestions -- please put a activities button which hovers over the selected text (as in IE8). An option to select default providers--ex. I've got map with live maps, map with yahoo maps....so I should be able to select the default amongst them and the default should appear in activities button. and how do we delete a activity?
    I hope you'll implement it.
    THANKS

  27. vinitneo March 13, 2008 at 8:37 pm #

    I got a blank page when I tried it..so what is wrong? My browser version is FF3 Beta 4 and platform is Windows XP service pack 2. and I want to make a few suggestions -- please put a activities button which hovers over the selected text (as in IE8). An option to select default providers--ex. I've got map with live maps, map with yahoo maps....so I should be able to select the default amongst them and the default should appear in activities button. and how do we delete a activity?
    I hope you'll implement it.
    THANKS

  28. mkaply March 13, 2008 at 10:00 pm #

    OK, so basically the problem with preview is that a setting in chrome.manifest is not working properly.

    You can fix it by going into your profile/extensions/activities@kaply.com directory.

    Edit the file chrome.manifest.

    Change

    overlay chrome://browser/content/browser.xul chrome://activities/content/preview.xul appversion>=3.0

    to

    overlay chrome://browser/content/browser.xul chrome://activities/content/preview.xul

    I'll have something fixed in the new version.

  29. vinitneo March 14, 2008 at 3:08 am #

    How will I edit chrome.manifest file? windows can't open it.

  30. Xsever March 14, 2008 at 7:50 am #

    Room for improvement:

    Any one knows how to make the activity launch in a new tab instead of launching in the same tab?

    When u highlight the word and pick an activity u'll be redirected in the same page. So is there a way u can force the activity to open in a new tab?

    Thanks,

  31. mkaply March 14, 2008 at 12:02 pm #

    @Xsever:

    Sure. I follow the shortcuts in firefox to do this. You can:

    Hold down Ctrl while clicking to open in a new tab
    Hold down Ctrl+Shift while clicking to open in a new tab in the background
    Hold down Shift when clicking to open in a new window
    Click with the middle mouse button to open in a new tab

  32. Xsever March 14, 2008 at 12:25 pm #

    @mkaply

    Thanks a lot for the shortcuts. that was a bullseye, but the middle mouse one did not work but that's fine. Holding Ctrl is no big deal at all.

    Thanks again,

  33. Jan March 16, 2008 at 3:30 pm #

    I have develop a Activity for the Serendipity Blog. You can copy text to your blog. But the Activity doesn't work in Firefox. It works only with the Internet Explorer 8.

    Is it a bug?

    Here you can find the Activity:
    http://www.xp-dev.de/index.php?archives/33-English.html&serendipitylang_selected=en

  34. vinitneo March 16, 2008 at 9:33 pm #

    How will I edit chrome.manifest file? windows can’t open it.

  35. mkaply March 16, 2008 at 11:33 pm #

    @vinitneo (and everyone else)

    I'll have a new version out on Wed that should solve all these issues.

    It will more closely emulate IE (with default actions), as well as fixing the various install issues and the preview issues.

  36. vinitneo March 17, 2008 at 3:09 am #

    Thank you very much... I just can't just wait to get my hands on it.

  37. gowri July 24, 2008 at 11:41 pm #

    I Like Activity...can anyone tell me abt how to send a selected portion via gmail

  38. shrek4 September 22, 2008 at 4:13 pm #

    Another addon that is better than ie8's activities

    http://www.cleeki.com/firefox.html
    https://addons.mozilla.org/en-US/firefox/addon/7750

    Why it is better: compared with IE8 activities,
    1) The preview page is with richer amount of information and interaction
    2) You can customize your own search channel easily
    3) Edit the keyword freely

  39. Neil Kennedy August 22, 2009 at 2:39 pm #

    Hi,

    I was just wondering if you had any plans of making this work with FF3.5? I have a few handy accelerators on my site that I would like users of FF be able to use and I want to suggest to them to install your extension!

    Thanks,
    Neil

Trackbacks/Pingbacks:

  1. IE Activities para Firefox | Fotografia digital. - March 10, 2008

    [...] Una de las ventajas del Open Source, mientras MSFT anunció que con Internet Explorer 8 una de las novedades eran las Activities… ya hay una primera implementación para Firefox. [...]

  2. IE 8 Activities and WebSlices for Firefox : Mozilla Links - March 11, 2008

    [...] You can download Microsoft Activities from Michael Kaply’s site. [...]

  3. IE8 Activities & WebSlices for Firefox - March 11, 2008

    [...] Activities extension that has been developed is also a bit rough around the edges right now. If you use it in Firefox 3 [...]

  4. n-blue | IE 8 Activities ??? WebSlices ?????? Firefox - March 11, 2008

    [...] Microsoft Activities for Firefox ??? WebChunks n-blue™ ?????? Software [...]

  5. Webslices and Activities ported to Firefox - March 11, 2008

    [...] are emulated by the Firefox add-on Webchunks while the Activities are still called Microsoft Activities. Both are said to work with the latest version of Firefox 2 and even the beta of Firefox [...]

  6. IE8 Activities and WebSlices for Firefox - March 11, 2008

    [...] contextual services to access web services at the click of a mouse button. Michael Kaply released a Firefox Extension to add Activities functionality to Firefox. Install the extension and restart the Firefox, now [...]

  7. Who needs IE8? Get Activities and WebSlices in Firefox | money news blog - March 11, 2008

    [...] it on a map, or translate it with Windows Live Translator. Developer Michael Kaply has created a Firefox version of Activities that works exactly the same way. In fact, in order to add services, you download them directly from [...]

  8. "IE8 Activities Like" FireFox Extension | SolSie.com - March 11, 2008

    [...] Michael Kaply has created a Firefox version of Activities that works exactly the same way. The activities are from Microsoft IE8 that you can add to the [...]

  9. ??? » Blog Archive » ?? - March 11, 2008

    [...] ? WebSlices?Firefox ??????????? Microsoft Activities for Firefox [...]

  10. Add Activities Feature of IE8 to Firefox [Featured Firefox Extension] · TechBlogger - March 11, 2008

    [...] Microsoft publishes them. Microsoft Activities for Firefox is free, works wherever Firefox does. Microsoft Activities for Firefox [Mike’s Musings via Download [...]

  11. Add Activities Feature of IE8 to Firefox [Featured Firefox Extension] » Lifehacker, tips and downloads for getting things done - March 12, 2008

    [...] Microsoft publishes them. Microsoft Activities for Firefox is free, works wherever Firefox does. Microsoft Activities for Firefox [Mike’s Musings via Download [...]

  12. Microsoft Activities un Webslices iekš Firefox - March 12, 2008

    [...] Izstr?d?t?ji l?d?s par to ka k?rt?jo reizi Microsoft ir skops ar dokument?ciju.  Bet Webslices paplašin?jums ir jau pieejams lietošan?. Lietošan? ir pieejams jau ar? pirmais Activities paplašin?jums. [...]

  13. IE8-Funktionen Activities und WebSlices für den Firefox » Browser, Activities, Funktionen, Website, Suchmaschinen, Microsoft, WebSlices, Microsofts » TheXBlog - March 12, 2008

    [...] Michael Kaply hat eine Firefox-Version von Activities vorgestellt, die genauso funktioniert wie bei Microsoft. Um weitere Suchmaschinen und Funktionen [...]

  14. Activites and WebSlices now Available for Firefox - March 12, 2008

    [...] that lets you select web services to add to your right-click context menu. Michael Kaply released a Firefox Extension to add Activities functionality to Firefox. Once you install the add-on you need to get the [...]

  15. Webslices and Activities ported to Firefox - Computer Forums - March 12, 2008

    [...] sight. Webslices are emulated by the Firefox add-on Webchunks while the Activities are still called Microsoft Activities. Both are said to work with the latest version of Firefox 2 and even the beta of Firefox 3. Not a [...]

  16. Mozilla Firefox 3.0 Beta 4 & IE8-Funktionen für den Firefox » ulf-theis.de - Webdesign - March 12, 2008

    [...] Entwickler Michael Kaply kommt eine Firefox-Variante der Funktion Activities, mit Namen Microsoft Activities for Firefox, welche genauso funktioniert, wie das Microsoft-Vorbild. Um weitere Suchmaschinen und Funktionen [...]

  17. ? Firefox ?? IE8 Microsoft Activities ?? | PC Headline - March 12, 2008

    [...] ?????http://www.kaply.com/weblog/2008/03/07/microsoft-activities-for-firefox-new-version/ [...]

  18. ????? ??? ???? ??????? ???????? ?? ?? ???????? ????? ???? « R2G Soft - March 12, 2008

    [...] ?? ?? ?? ???? ???? ???? ?????? ????? ?????. ????? ????? ?????? ?? ???? ???????? ????? ?? ??? ????? ?? ???? ??? ?? [...]

  19. BigBlueHat » Blog Archive » Why wait for IE 8? - March 12, 2008

    [...] farther and adds several services to the list, so you’re not limited to Google. But a new Firefox add-on mimics this behavior as well. And like the large majority of Firefox add-ons (perhaps all) [...]

  20. Get Latest Activities & WebSlices Features of Internet Explorer 8.0 in Firefox | Inspired Geek - March 12, 2008

    [...] can get the Microsoft Activities from here and WebChunks from here. Both of these should work with the latest Firefox 3.0 nightlies as [...]

  21. Teknoloji = Her1Sey.Com » Blog Ar?ivi » IE8′i Firefox’ta Deneyin - March 12, 2008

    [...] ?çin: WebChunks, Activities Firefox [...]

  22. WebSlices and Activities for Firefox - March 12, 2008

    [...] add web services to the right-click context menu of their browser. Michael Kaply has released an extension, which adds a similar functionality to Firefox. Once the add-on is installed, you can add new [...]

  23. Add Activities Feature of IE8 to Firefox -- Windows Reference - March 13, 2008

    [...] Microsoft Activities for Firefox From Here Share this post with the [...]

  24. A Fresh Cup » Blog Archive » Double Shot #164 - March 13, 2008

    [...] Microsoft Activities for Firefox - New Version - Didn’t take the open source community long to clone that feature. [...]

  25. Nowe funkcje IE8 at stream of bytes - March 13, 2008

    [...] spo?eczno?? tworz? pasjonaci, wida? cho?by po tym, ?e Michael Kaply hobbystycznie stworzy? Activities for Firefox, a Daniel Glazman WebSlices in Firefox. Oba dzia?aj?, s? kompatybilne z IE8 Beta 1, i oba [...]

  26. Du nouveau en attendant la sortie de Firefox3 et IE8 - March 13, 2008

    [...] Si vous voulez bénéficiez d’Activities d’IE8, vous pouvez d’ores-et-déjà le faire avec…Firefox ! En effet un développeur vient de réaliser une extension Microsoft Activities. [...]

  27. Firefox 3, come avere le activities e le Webslices di Internet Explorer 8 - Geekissimo - March 14, 2008

    [...] di Internet Explorer 8 anche nel browserone open source. Una si chiama Webchunks, l’altra Microsoft Activities for Firefox e pur essendo molto giovani sono davvero ben [...]

  28. Firefox pasivijo IE8 per kelias dienas : nežinau.lt - March 15, 2008

    [...] ir Web Slices (tinklalapio fragmento prenumerata), kai atsirado ir atitinkami Firefox ?skiepiai: Microsoft Activities for Firefox ir Webchunks. CyberNet pastebi, kad abi jos dar labai naujos, greitosiomis sumestos ir netobulos - [...]

  29. Microsoft Activities for Firefox ? Firefox ?? IE8 ?Activities - ???? - March 15, 2008

    [...] Microsoft Acitvities for Firefox ????????????? Activities ????????????????????? Activity????????????? Activities XML ?????????????? Activity ?????????????????????????????????? Firefox 3 Beta 4?????????????????????????????????????????? Firefox???????????? [...]

  30. Eternalmoonlight.net » Life tips #3 - March 16, 2008

    [...] Firefox: Add Microsoft Activities (IE8) to your Firefox. [...]

  31. Les fonctions d’Internet Explorer 8 dans Firefox - March 17, 2008

    [...] trouverez le plugin correspondant sur cette page. Là où le plugin pousse le vice, c’est que les services peuvent être ajoutées facilement [...]

  32. ????????? IE8 ?? ?? ???????? ????? ???? - March 17, 2008

    [...] ??? ??? ?????? ?? ?????? ?????? Activities ?? ?? ???? ???? ???? ?? ?????? [...]

  33.   ???? Internet Explorer 8 ? Mozilla Firefox  by Lifehacker - March 20, 2008

    [...] ????? (Michael Kaply) ?????? ???????????? ?????? Microsoft Activities for Firefox. ????????? ???, ?? ??????? ???????? ????????? ?????? ? [...]

  34. Add Activities Feature of IE8 to Firefox [Featured Firefox Extension] « Tech Recipe - August 19, 2008

    [...] Microsoft publishes them. Microsoft Activities for Firefox is free, works wherever Firefox does. Microsoft Activities for Firefox [Mike's Musings via Download [...]

  35. Life tips #3 | Eternalmoonlight.net - June 20, 2010

    [...] Firefox: Add Microsoft Activities (IE8) to your Firefox. [...]

  36. 8 Activities Microsoft Sites | MK Computing - October 15, 2011

    [...] Microsoft Activities for Firefox New Version | Mikes MusingsMar 7, 2008 So all that to say, I've thoroughly enjoyed working on the Microsoft Activities extension and the other [...]

Leave a Reply:

Gravatar Image