Microsoft Activities for Firefox - New Version

7 March, 2008 (13:51) | activities, extensions, firefox, microsoft, operator

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!

Comments

Comment from Gabriel
Date: March 7, 2008, 3:33 pm

Thanks!

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

Comment from mkaply
Date: March 7, 2008, 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.

Comment from Gustavo
Date: March 7, 2008, 5:59 pm

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

But… Where is suposed to be shown the preview?

Comment from mkaply
Date: March 7, 2008, 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.

Comment from Pau Tomàs
Date: March 7, 2008, 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.

Comment from mkaply
Date: March 7, 2008, 8:40 pm

@Pau: FF2 or FF3?

Comment from Gabriel
Date: March 7, 2008, 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.

Comment from Pau Tomàs
Date: March 8, 2008, 5:38 am

@mike FF3… well, Minefield 3.0b5pre

Comment from Damian
Date: March 8, 2008, 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.

Comment from Dan
Date: March 8, 2008, 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.

Comment from Dan
Date: March 8, 2008, 10:32 pm

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

Comment from Dan
Date: March 10, 2008, 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.

Comment from Dan
Date: March 10, 2008, 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?

Pingback from IE Activities para Firefox | Fotografia digital.
Date: March 10, 2008, 9:18 pm

[...] 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. [...]

Pingback from IE 8 Activities and WebSlices for Firefox : Mozilla Links
Date: March 11, 2008, 8:07 am

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

Comment from mkaply
Date: March 11, 2008, 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…

Pingback from IE8 Activities & WebSlices for Firefox
Date: March 11, 2008, 11:32 am

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

Pingback from n-blue | IE 8 Activities และ WebSlices สำหรับ Firefox
Date: March 11, 2008, 12:24 pm

[...] Microsoft Activities for Firefox และ WebChunks n-blue™ ในหมวด Software [...]

Pingback from Webslices and Activities ported to Firefox
Date: March 11, 2008, 3:27 pm

[...] 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 [...]

Comment from Jeff Garner
Date: March 11, 2008, 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.

Comment from Jocko
Date: March 11, 2008, 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…

Pingback from IE8 Activities and WebSlices for Firefox
Date: March 11, 2008, 5:51 pm

[...] 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 [...]

Comment from Kevin Dente
Date: March 11, 2008, 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.

Pingback from Who needs IE8? Get Activities and WebSlices in Firefox | money news blog
Date: March 11, 2008, 8:03 pm

[...] 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 [...]

Comment from vinitneo
Date: March 11, 2008, 8:24 pm

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

Pingback from "IE8 Activities Like" FireFox Extension | SolSie.com
Date: March 11, 2008, 8:56 pm

[...] 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 [...]

Comment from mkaply
Date: March 11, 2008, 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?

Pingback from 滯銷書 » Blog Archive » 微观
Date: March 11, 2008, 10:07 pm

[...] 和 WebSlices,Firefox 很快就有了相应的扩展: Microsoft Activities for Firefox [...]

Pingback from Add Activities Feature of IE8 to Firefox [Featured Firefox Extension] · TechBlogger
Date: March 11, 2008, 10:23 pm

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

Pingback from Add Activities Feature of IE8 to Firefox [Featured Firefox Extension] » Lifehacker, tips and downloads for getting things done
Date: March 12, 2008, 12:24 am

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

Pingback from Microsoft Activities un Webslices iekš Firefox
Date: March 12, 2008, 2:07 am

[...] 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. [...]

Pingback from IE8-Funktionen Activities und WebSlices für den Firefox » Browser, Activities, Funktionen, Website, Suchmaschinen, Microsoft, WebSlices, Microsofts » TheXBlog
Date: March 12, 2008, 5:20 am

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

Pingback from Activites and WebSlices now Available for Firefox
Date: March 12, 2008, 5:26 am

[...] 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 [...]

Pingback from Webslices and Activities ported to Firefox - Computer Forums
Date: March 12, 2008, 6:54 am

[...] 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 [...]

Comment from Comment
Date: March 12, 2008, 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

Pingback from Mozilla Firefox 3.0 Beta 4 & IE8-Funktionen für den Firefox » ulf-theis.de - Webdesign
Date: March 12, 2008, 8:08 am

[...] 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 [...]

Pingback from 在 Firefox 實現 IE8 Microsoft Activities 功能 | PC Headline
Date: March 12, 2008, 9:13 am

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

Pingback from ویژگی های جدید اینترنت اکسپلورر را در فایرفاکس تجربه کنید « R2G Soft
Date: March 12, 2008, 10:34 am

[...] وب رو در منوی راست کلیل موستون داشته باشید. مایکل کاپلی افزونه ای برای فایرفاکس نوشته که این ویژگی رو برای شما در [...]

Comment from Kevin Dente
Date: March 12, 2008, 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.

Pingback from BigBlueHat » Blog Archive » Why wait for IE 8?
Date: March 12, 2008, 1:44 pm

[...] 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) [...]

Comment from Product Support
Date: March 12, 2008, 2:26 pm

How do you remove activities that you have added?

Pingback from Get Latest Activities & WebSlices Features of Internet Explorer 8.0 in Firefox | Inspired Geek
Date: March 12, 2008, 2:53 pm

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

Pingback from Teknoloji = Her1Sey.Com » Blog Arşivi » IE8′i Firefox’ta Deneyin
Date: March 12, 2008, 3:43 pm

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

Pingback from WebSlices and Activities for Firefox
Date: March 12, 2008, 5:00 pm

[...] 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 [...]

Comment from vinitneo
Date: March 13, 2008, 2:13 am

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

Pingback from Add Activities Feature of IE8 to Firefox — Windows Reference
Date: March 13, 2008, 5:55 am

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

Pingback from A Fresh Cup » Blog Archive » Double Shot #164
Date: March 13, 2008, 6:23 am

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

Comment from Matthias
Date: March 13, 2008, 8:01 am

Cool!

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

Pingback from Nowe funkcje IE8 at stream of bytes
Date: March 13, 2008, 8:12 am

[...] 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 [...]

Pingback from Du nouveau en attendant la sortie de Firefox3 et IE8
Date: March 13, 2008, 9:10 am

[...] 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. [...]

Comment from mkaply
Date: March 13, 2008, 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.

Comment from vinitneo
Date: March 13, 2008, 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

Comment from vinitneo
Date: March 13, 2008, 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

Comment from mkaply
Date: March 13, 2008, 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.

Comment from vinitneo
Date: March 14, 2008, 3:08 am

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

Pingback from Firefox 3, come avere le activities e le Webslices di Internet Explorer 8 - Geekissimo
Date: March 14, 2008, 7:00 am

[...] 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 [...]

Comment from Xsever
Date: March 14, 2008, 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,

Comment from mkaply
Date: March 14, 2008, 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

Comment from Xsever
Date: March 14, 2008, 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,

Pingback from Firefox pasivijo IE8 per kelias dienas : nežinau.lt
Date: March 15, 2008, 4:20 am

[...] 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 - [...]

Pingback from Microsoft Activities for Firefox 让 Firefox 也有 IE8 的Activities - 花儿开了
Date: March 15, 2008, 9:57 am

[...] Microsoft Acitvities for Firefox 可以为火狐浏览器添加完整的 Activities 功能,甚至,您可以直接通过微软的网站来添加 Activity。当然,这个扩展对于标准的 Activities XML 也是支持的,因此,您自己写的 Activity 也可以被正确的识别和执行。我截了张图演示一下执行效果,另外,我用的是 Firefox 3 Beta 4,扩展可以完全正常执行。当然,要想装上它的话,您需要先按照我之前文章中的说明设置一下 Firefox。感兴趣的朋友不妨试试。 [...]

Comment from Jan
Date: March 16, 2008, 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

Pingback from Eternalmoonlight.net » Life tips #3
Date: March 16, 2008, 7:01 pm

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

Comment from vinitneo
Date: March 16, 2008, 9:33 pm

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

Comment from mkaply
Date: March 16, 2008, 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.

Comment from vinitneo
Date: March 17, 2008, 3:09 am

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

Pingback from Les fonctions d’Internet Explorer 8 dans Firefox
Date: March 17, 2008, 4:04 am

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

Pingback from قابلیتهای IE8 را به فایرفاکس اضافه کنیم
Date: March 17, 2008, 11:09 pm

[...] کمک این افزونه می توانید قابلیت Activities که در منوی راست کلیک در مرورگر [...]

Pingback from   Фичи Internet Explorer 8 в Mozilla Firefox  by Lifehacker
Date: March 20, 2008, 3:57 pm

[...] Кэпли (Michael Kaply) создал подключаемый модуль Microsoft Activities for Firefox. Установив его, вы сможете выделять фрагменты текста и [...]

Write a comment