Make Your Own Flock Extensions

Filed in: Mozilla, Open Source — October 23rd, 2005

advertisement

I ported a few Flock extensions from Firefox extensions. You may be wondering on how to port your favorite Firefox extensions to Flock. It is quite simple. Let me explain the steps to you.

  1. Download (do not install) the Firefox extension you want to port to Flock. Mozilla Update is a good Firefox extension repository.
  2. Change the file extension from ".xpi" to ".zip", and then extract the file into a folder.
  3. Open "install.rdf" with a text editor (e.g: notepad).
  4. Look for "</em:targetApplication>" (without quotations).
  5. Paste the following code right below that line:
    XML:
    1. <!-- Flock -->
    2. <em :targetApplication>
    3.     <description>
    4.         <em :id>{a463f10c-3994-11da-9945-000d60ca027b}</em>
    5.         <em :maxVersion>6.02</em>
    6.         <em :minVersion>0.2</em>
    7.     </description>
    8. </em>

    Tips: The strange text string is the program ID of Flock browser. The above code tells Flock that, "Hey! I am compatible with you!" (ok, the code is a cheating one. :P )
  6. Save the "install.rdf" file
  7. Zip the folder. You will get a .zip file.
  8. Rename the zip file extension from ".zip" to ".xpi".
  9. Drag & drop the .xpi file into your Flock browser in order to install the Flock extension.
  10. Restart your Flock browser.
  11. Done.

In a nutshell, the process goes like this:
Firefox extension -> rename to zip -> unzip -> edit "install.rdf" -> zip -> rename file extension to xpi -> Flock extension

My two cents

I am not sure about the amount of Firefox extension authors who are willing to update their extensions for Flock. You may wait for them, or do it yourself according to the steps shown here.

Please note that this is a cheap hack. There are some extensions that do not work properly with Flock even when they are successfully installed (example: SessionSaver).

I hope that you will enjoy more in using Flock with your favorite extensions installed. :)

Bookmark and Share

Read also:

  • SWEET!
    Nice one Liew!
  • LiewCF, this might actually help you more : http://adminid.com/flock/

    You know, then you wouldn't have to go thru all the trouble messing around with files. It can be dangerous you know, especially when the next n00b comes around your blog and thinks it's kewl to hack their FF extensions.

    Thanks for the tip tho
  • LcF
    Thank you, Chewxy.
    I submited my works to adminid.com/flock
  • Excellent tip.
  • If you check out my website (frobba.com) I wrote a windows utility that does this super easily. I'm working on an OSX version.
  • Ya its good but I am not getting what is the difference b/w these two browser I mean Flock browser and FireFox...I tried above steps up to the 5th one .after that I didnt get how to convert this ..better to give more explanation I think so....
  • LcF
    @Kraj: Flock website now automatically convert Firefox plugins for you.
  • After a long time I am seeing this ,I got it(automatically convert Firefox plugins) . Thanks a Lot for your concern...
  • great tip, it would be great to test out a few ideas :)
blog comments powered by Disqus