Posts Tagged ‘firefox’

CCK Wizard Update and FAQs

Wednesday, March 3rd, 2010

I’ve updated the CCK Wizard for Firefox 3.6. It’s available here. It will be on AMO once the translations are done and if no one finds any major issues. Here’s a summary of the changes:

  • Updated for new Firefox 3.6 proxy panel
  • Two CCKs can now coexist (Company Identifiers must be unique to each CCK)
  • Bundling XPIs and JARs no longer uses XPI bundles – they are explicitly installed upon first run of the CCK (please test this if you bundle multple XPIs)
  • All translated CCK Wizards should now be working
  • First run screen added to CCK Wizard install
  • A few bugs fixed

Some other items of note:

As I mentioned before, I’ve moved CCK Wizard development to Google Code. Please feel free to open up bugs there.

Going forward, I’m going to add the ability to do more locking down of functionality in Firefox. If you have specific needs, please open bugs in Google Code.

To close this post out, I want to answer a couple questions about CCK Wizard that are asked a lot.

What is the right way to install the CCK?

There are multiple ways the CCK can be installed based on your needs. I’ll go through all those ways.

Standard install – The XPI that is created by the CCK Wizard is just a Firefox extension, so as such it can be placed on a web page and users can simply click to install. You can get more information on how to do this from the Mozilla developer center.

In the Firefox directory – Extensions can be installed directly into the Firefox directory. Inside of the directory where the Firefox executable is located, there is a directory called extensions. Inside this directory, you can create a directory with the same ID as your CCK and then unzip your CCK into that directory. This is the only location where you can hide the add-on.

As part of a Firefox install – I’ve previously documented how to bundle the CCK in the installer and how to package the installer on Windows. These instructions still hold true.

Globally – There are designated locations in different operating systems where extensions can be installed and they are picked up by Firefox. You can get more information on these locations at the Mozilla Developer Center. This involves unzipping the CCK package in a specific location on the users hard drive into a directory that is named the same as the ID of the CCK. Using this method, you can manage the CCK package centrally and the user cannot uninstall the CCK from Firefox.

Via the Windows Registry – If you are on Windows, extensions can be installed via the Windows registry. This is documented at the Mozilla Developer Center. This involves unzipping the CCK package that you created to a central location and then adding a registry key that tells Firefox where to find the CCK. Using this method, you can manage the CCK package centrally and the user cannot uninstall the CCK from Firefox.

What do the options “Do not show this extension in the extension manager” and “Prevent the uninstall of this extension” do? They don’t seem to work for me.

These options only work if your CCK is located in the extensions directory where the Firefox executable is located.

If you have any more questions, feel free to ask in the comments.

Do you need to do even more customization of Firefox for your organization? That’s what we do. Contact Kaply Consulting.

Addoncon Userpoints Idea

Thursday, February 25th, 2010

At Addoncon, there was a lot of talk about how to compensate Firefox add-on developers. One of the ideas mentioned was some sort of user point system where points could be allocated to add-on developers by users and also based on usage and then the add-on developers could either donate it to a cause, turn it into merchandise, or turn it into real money.

What this does is provide a way to compensate add-on developers for the contributions they are making to the overall Firefox brand equity.

I have a longer summary of this idea on the Addoncon blog and would love to get feedback.

CCK Wizard Status

Thursday, January 28th, 2010

With the release of Firefox 3.6, people are already asking me about a new CCK Wizard. I am working on an update. You can get a beta of that here. Primary changes are more information on the proxy page, ability to open an existing CCK and better coexistence of multiple CCKs.

Most interesting news on the CCK front is that I’ve decided to move it to Google Code instead of maintaining in the Mozilla trees. The URL is http://code.google.com/p/ff-cckwizard/. My primary reason for doing this is honestly that I’m not really contributing to Mozilla/Firefox proper anymore and messing with Mercurial isn’t worth it for me (I know, lame excuse.) It has some other advantages, though, like having my own bug reporting system and not having to get any reviews/approvals for checkins.

So if you have ideas/suggestions/bugs for the CCK Wizard, please open them in Google Code.

Also note that CCK Wizard is something I do on the side, so my time is limited. Contributions help. I know there are a lot of folks who depend on this for the business. Any and all love is appreciated.

Extensions, Personas and Jetpack! Oh, My!

Monday, January 11th, 2010

As a result of Mike Connor’s post, there’s lots of discussion about extensions, theming, Personas and Jetpack. This is my livelihood, so I definitely have to jump in.

First, let’s talk about Personas. I hate to burst everyone’s bubble, but:

Personas is not lightweight theming. Personas is wallpaper.

We’ve had it since Windows 3.0 (may be even before). It’s pretty wallpaper, but it’s still wallpaper.

Lightweight theming is a different beast. Lightweight theming is the ability to theme the browser window WITHOUT theming the rest of the browser. So lightweight theming might involve changing things like browser background images (more than one), toolbar buttons, and possibly the URL bar or the tabs. I’ll be a little self serving and say that everything Brand Thunder does is lightweight theming. You can see examples at the gallery.

Personas is not a suitable replacement for Firefox theming. It doesn’t even come close. And looking at the designs for future versions of Firefox, Personas becomes irrelevant – there’s very little browser chrome to even see the background images. (Clue to Firefox developers – make the new tab window transparent like Chrome).

People point to Personas and say “look how popular it is – people must want theming that way.”

Personas’ success is about marketing.

Personas is the only extension that Mozilla markets. They market it on first run pages, download pages and home pages. It has a dedicated domain. It has special privileges for being installed without the add-on security warning. It was a recommended add-on from day one. They even have a custom bundle of Firefox that includes Personas!

So please don’t tell me that Personas is the future. Personas is the present. Clearly a completely new solution will be needed for future Firefox versions.

Now let’s talk about Jetpack.

Jetpack is like giving me an Erector set when I used to have a Home Depot.

Let’s look at the problems that Jetpack attempts to solve and see if a new programming model was necessary to solve them.

Install without restart -
If extension developers were given a specific set of APIs that they could use that didn’t require restart, then extensions could be marked as “doesn’t need restart” and this problem would be solved. All Jetpack does is pre-grab parts of the Firefox UI so that when things are placed there, Jetpack handles their placement, not Firefox. This could be done with any extension API. It doesn’t require Jetpack.

Ease of creation -
A learning curve is a learning curve. I don’t know jQuery, so Jetpack has a learning curve for me. Jetpack is simply trading one programming model for another. I’ve been to presentations where HTML developers were shown how extensions work and within one hour they could create extensions. Doing very interesting things with extensions might be difficult to learn, but that’s why you create an API. And that API does NOT have to be Jetpack specific. Packaging can be a little tricky, but again solvable outside of the context of Jetpack.

API -
If the extension API isn’t very user friendly, fix it. Isn’t that what FUEL was trying to accomplish? If you want a stable API that doesn’t change from release to release, create one. There’s no need this API needs to be created as a part of Jetpack.

Forward compatibility -
Extensions break from release to release of Firefox. That’s just a fact of life. The only way to prevent this is to give extension developers a very tiny sandbox in which to play. We don’t want this. Give us a big sandbox and if we break, we break.

The problem is not that you break us. The problem is short release cycles

Right now, the Firefox team is aiming for six month release cycles. For an extension developer, the last two months of that cycle are when we can really start checking out things and it’s only in the last month that we can actually release addons that have the correct version in install.rdf (due to AMO restrictions.). Most extension developers have multiple extensions and probably a day job. Updating five or 10 or even hundreds of extensions can be quite problematic.

Jetpack simply creates a new set of problems and a new context to solve those problems. We should try to fix those problems in the existing context.

I think the core problem here is a disconnect between Mozilla Labs and the rest of the Mozilla community. Mozilla Labs operates in a very closed community, completely contrary to the way other Mozilla projects are done (at least for the initial phases of a project). I think that contributes to their myopic vision of the future of the browser. I’d much rather see Mozilla Labs work with the community to propose ideas and foster those ideas to create a real open source lab versus coming up with ideas and then trying to force those ideas on me.

And incidentally, Internet Explorer is a great example of what happens when you give people a limited set of APIs to work with. They come up with elaborate hacks in order to make things work. And those definitely break from release to release. If you limit people, they will come up with ways around those limits. Please don’t limit me.

New Rebranding Wizard

Monday, December 21st, 2009

I’ve just uploaded a new version of my add-on Rebrand to AMO. Until it is approved, you can download it using this URL. This new version adds support for SeaMonkey as well as Firefox 3.6.

Rebrand is a fun add-on that lets you change the name and branding images of Firefox, Thunderbird and SeaMonkey. It walks you through the rebrand process and then generates an add-on. Disclaimers apply, and they are shown during the startup of Rebrand.

To celebrate this release of Rebrand, I’ve created a very special rebrand package – the Netscape rebrand. If you long for the good old days, you can install this add-on in Firefox or SeaMonkey and relive the good old days.

netscape

Do you have a need to completely rebrand Firefox? Kaply Consulting can help.

Back from the Dead

Friday, August 28th, 2009

It’s been way too long since I have blogged.

Most of my summer was spent on a cross country road trip which you can read about here. I worked as we traveled which went reasonably well, but didn’t leave time for blogging.

The biggest news I have is that I have resumed work on Operator. In particular, I’m fixing bugs, adding a few usability enhancements and adding support for new microformat stuff like the value class/pattern for dates. I’m also considering completely removing the “Actions” toolbar and switching to interacting only with the data. I’m definitely looking for feedback on that one.

If you have anything you wish Operator did, please let me know and I’ll see if I can get it in.

Note that Operator is a part of the AMO Contributions program and I’d appreciate any support you can provide. Right now I’m mixing it in with my paid work, but I’d like to spend more time on it.

The bulk of my paid work has been for Brand Thunder. We’ve been updating our extensions to work properly with Firefox 3.5. There’s quite an eclectic mix there, so you’ll probably find something that you like.

Going forward I’m going to try to start doing extension related posts, primarily to see if I can drum up some more business. So if by chance you have a question about anything I’ve done in the past with extensions, or should do in the future, please let me know.

UPDATE: Forgot that I’ve also proposed a panel for SXSW. Please vote:
Vote for my PanelPicker idea!Love AND Money: Can Fansites Pay the Bills?

Canvas from Brand Thunder

Tuesday, June 2nd, 2009

In the description for the Personas Add-on is the following statement:

The Artist in You Should Be Able to Treat the Browser as Your Canvas

With the introduction of Canvas (formerly PhotoFox) from Brand Thunder, you really can treat your Firefox browser as a canvas.

Canvas allows you to use any image from the web or any image on your computer as the background of your browser. It allows you to move it, pin it and tile it to give it exactly the look you want. It even allows a web designer to specify exactly how they want an image to appear in Canvas with a few HTML attributes.

Adding an image from the web to Canvas is as easy as right clicking on an image and selecting “Add Image to Canvas.” The image is immediately available in your browser. Try it with the image below:

Seamless Photo Texture 01
Seamless texture provided by FreeSeamlessTextures.com

By default, the image is in the upper left and is not tiled. This image would look much better tiled so click the Manage button to tile it, move it around, or change the menu and background colors. You can also give it a memorable name.

We said that by default Canvas does not tile the image and it puts it in the upper left. You might have an image that you want to make available for use as a background, but you want to designate how it appears in the users browser. You can do this by adding custom attributes to the image that allow Canvas to set the defaults for the image. Here’s an example:

Cliffs

If you right click on this image, you’ll see “Add ‘Cliffs’ to Canvas” instead of “Add Image to Canvas.” After the image is added, it is aligned to the right and has a background color. You’ll also notice that the image that was added is bigger than the preview image. This is because you can specify the actual image you want to be used in the browser separate from the image the user clicks on. (Note this feature can be used to trick you into using possibly inappropriate images, so just be aware of that). Here’s the HTML from the example above:


Cliffs

The attributes map directly to the CSS attributes for the image, so you just set them to those values. You can also specify “menuColor” if your image needs a custom color for the menus.

We know this is a very nonstandard way to accomplish this, but we wanted something simple that anyone could use on their website. We’ll be improving on this process in the future.

Canvas also supports Personas. If you go to getpersonas.com and right click on any image, you can add the Persona to Canvas. Note we do things a little different: we do not use the status bar image and we use the background color as the color of the status bar. We automatically determine a color for the status bar that works on that color. We also don’t change the title bar color on Macs.

You may wonder why we added that feature. We worked very hard to support coexistence with Personas and I think we did a pretty good job. You can switch back and forth between Personas and Canvas. In the end we determined that it would be better for the user if they had one place where they could go to access all of their browser customizations.

Now that you have all these images added to your browser, how do you switch between them? The My Pix button. Clicking My Pix will display a list of all the images you’ve added to Canvas so you can quickly switch between them.

We think that Canvas opens up a whole new way to customize your browser and we have lots more ideas that we’re excited to bring to the table. Keep watching this space. And download it here.

Note: Canvas from Brand Thunder includes the Surf Canyon extension. It also changes the default search engine to Yahoo! and adds search to new tab windows. We do this so that we can keep our extensions free. Obviously we’d love for you to use Yahoo!, but if you don’t want to, feel free to change it back. We also can give you info on removing the tab search. Just let us know at getsatisfaction.com.

PhotoFox from Brand Thunder

Friday, May 22nd, 2009

If you like Personas, I think you’ll love PhotoFox from Brand Thunder.

PhotoFox lets you use any image from your hard drive or any image on the web to customize your browser.

I’ll put together a post next week that gives lot of detail. For now, download it and try it out!

Mozilla No Longer Allows Firefox Community Editions?

Friday, April 3rd, 2009

It looks like Mozilla has disallowed Firefox Community Editions. There has been no official announcement of this change (that I could find) or any new policy.

http://www.mozilla.org/foundation/trademarks/community-edition-policy.html

is now a 404. If you look at the document history:

http://bonsai-www.mozilla.org/cvslog.cgi?file=mozilla-org/html/foundation/trademarks/community-edition-policy.html&rev=&root=/www/

you find this bug:

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

where Catherine Brady says:

“Community Editions are no longer authorized.” She also states that a new policy would be available at the end of February. It’s now the beginning of April.

Any details Mozilla?

I hope they’ve talked to folks like FrontMotion

Life Update

Friday, March 27th, 2009

Haven’t posted in a while, thought I would give some updates.

I just finished updating my Firefox Activities extension to work with Firefox 3.1/3.5. It has the much requested feature of opening new links in tabs. It also has custom code in it to modify the ieaddons.com site to work with Firefox. You can hopefully get it here soon. You’ll know it is the new version when it says 0.7.4.

Brand Thunder has been releasing quite a few Booms lately. You can check them out at the gallery or on amo. Lots of cool stuff and more stuff coming.

Minggl just released a new version of their tool for managing social networks. It works better than ever. If you want to integrate multiple social networks into Firefox, you should definitely grab it.

On a personal note, We’re headed to Dallas this weekend for Dave Ramsey’s Total Money Makeover Event. We’re volunteering for the ninth time.

And if you want a different view of the economy, be sure to check out the Town Hall for Hope.