Tag Archives: firefox

[Solved] Firefox4 plugins Incompatible

Update: I have requested firefox team to review the addons that I have submitted, The Direct Link to addon is http://bit.ly/dWDiiX Now you can directly download it and start using this addons, please do not forget to write review for it.


Firefox4 Addons

I use firefox plugins for speeding up my works, and recently after upgrading my firefox to 4.0. I realised some of my favourite plugins(HackBar, Photobucket Uploader, Save Complete) are incompatible with Firefox 4. I had a little knowledge on firefox XUL (rendering engine) and extension development.I looked if there was anything I could do to make my favourite plugins compatible with this new version of firefox. It was just a matter of minutes and BINGO !!! worked liked charm.

Here’s how I solved this. These are all for windows 7, for other platform procedures are going to be the same, just you need to locate the right file to change (in most cases, changing the versions would do, but in other cases, more tweaking will be required)

All our extensions and plugins in firefox are stored in a folder located at
C:\Users\{your_user_name_here}\AppData\Roaming\Mozilla\Firefox\Profiles\{varies.default}\extensions\{your_plugin_folder_here}

AppData might be hidden and you’ll need to enable options show Hidden files in Folder Options

{your_user_name_here} Put your computers username here for eg. mine is samundra

{varies.default} This is the only folder found under root, and looks like yyv8kc06.default

{your_plugin_folder_here} This is the name of the plugin folder for e.g. for photobucket pbupload@photobucket.com

No plugin folder but a xpi file only
If you can’t see the folder of your plugin but a .xpi file then do not scare. Rename this xpi file to .zip and extract the contents as any compressed file, then in the extracted file, you will find the install.rdf file.

After you find your plugin folder, Browse it and open the install.rdf file in any text file editor, I use notepad++

All extension in firefox have install.rdf file, which is actually XML file which stores required configuration for installation of extensions in firefox.

For example Photobucket Upload plugins has following install.rdf contents

<?xml version="1.0" encoding="UTF-8"?>
	<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:NC="http://home.netscape.com/NC-rdf#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
	<RDF:Description RDF:about="urn:mozilla:extension:file:" em:package="content/"/>
	<RDF:Description RDF:about="urn:mozilla:install-manifest" em:creator="Matthew David Kesack" em:description="Upload images from the web directly to your Photobucket account." em:homepageURL="http://www.photobucket.com/" em:iconURL="chrome://photobucket/content/images/pb-logo.png" em:id="pbupload@photobucket.com" em:name="Photobucket Uploader" em:version="1.3">
	<em:targetApplication RDF:resource="rdf:#$PhfhT3"/>
	<em:file RDF:resource="urn:mozilla:extension:file:"/>
	</RDF:Description>
	<RDF:Description RDF:about="rdf:#$PhfhT3" em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" em:maxVersion="3.2a1pre" em:minVersion="3.0"/>
</RDF:RDF>

In line 8, we have following em:maxVersion=”3.2a1pre” em:minVersion=”3.0″ To make this extension compatible with Firefox 4, all we need to change is 3.2a1pre to 4.0.* so the final code would look like, em:maxVersion=”4.0.*” em:minVersion=”3.0″. That is all we have to change, in the file and now our photobucket addons is compatible with Firefox 4. And it works quite well, I have tested it and works as in previous versions of firefox.

And if you are wondering whether you have to install it again or not, believe me we don’t have to install it again, that’s all we have to do.

I followed the same procedure for my another favourite plugins Save Complete page and that too work as expected.

After successfull installation of photobucket addons, you will get a camera like icon in your status bar (Now changed to Addon Bar). If you can’t see camera like icon means something went wrong.

Troubleshoot


– Try putting the folder in mozilla extension folder found in program files
C:\Program Files (x86)\Mozilla Firefox\extensions\{your_plugin_here}

Vimoperator-Vim for Firefox [Addons]

What is Vimoperator ?

Vimperator is a Firefox browser extension with strong inspiration from the Vim text editor, with a mind towards faster and more efficient browsing. It has similar key bindings and you could call it a modal web browser, as key bindings differ according to which mode you are in. For example, it has a special Hint mode, where you can follow links easily with the keyboard only. Also most functionality is available as commands, typing :back will go back within the current page history, just like hitting the back button in the toolbar.

However, Vimperator does not try to be a 100% Vim clone, it rather brings Vim’s ideas to the 21st century. This means making use of new graphical capabilities but also of faster computers. Furthermore, great care is taken into making its command line interface more consistent and easier to use, while still being a powerful extension for advanced users.

The above information about vimoperator was copy & paste from the Vim Official Website.

Download :Get Vimoperator Extension for firefox

So you installed the firefox addons vimoperator and stucked how to use it.

After you install the vimoperator, You will find the following changes

  • Menu Bar is gone
  • Navigation toolbar is hidden
  • bookmarks Toolbar is hidden

See the words I used menu bar is totally is gone, they are for purpose. Navigation and bookmarks toolbar can be shown again.

Q. How to Show Navigation Toolbar ?

A. Right-click on the top-right section of the toolbar and select Navigation Toolbar.

Q. How to Show Bookmark Toolbar ?

A. Same as navigation toolbar but this time select Bookmark Toolbar.

Q. How to use Vimoperator ?

A. After you install vimoperator you will get a console at the bottom of the window. We use this console to send command to firefox for carrying out our required operations. Belive me you’ll find it quite interesting once you get used to it.

Like Vim, all commands start with colon(:) followed with some command.

I used [no-space] because my cms would convert : o to smily as :o.

:[no-space]o www.hotmail.com

will open hotmail in your browser. [no-space-here] just remove that line

:emenu File.sa [Tab]

will show some autocomplete options for save and file save as options.

There are many commands we can use with vimoperator To know about more commands Use

:help

followed with the options you want to see help for, and you’ll get list of options that are available to you.

These are features of Vimoperator [Again from Vim Official Website]

  • Ex commands¬† (:quit) with a proper command line
  • Tab completion available for all commands, showing suggestions while you type
  • Hint mode (start with f to follow a link)
  • Easily customizable GUI (easily hide all GUI elements with :set gui=)
  • Ability to :source JavaScript files, and to use a ~/.vimperatorrc file with syntax highlighting if you install vimperator.vim
  • Easy quick searches (:[no-space]open foo will search for “foo” in google, :[no-space]open ebay terminator will search for “terminator” on eBay) with support for Firefox keyword bookmarks and search engines

Conclusion

For those we are used to with keyboards and especially with vim, will find vimoperator very niffty tool. Since they already know most of the basics of vimoperator. For webdevelopers it is bit harder at begginning and for advanced users (extension developer) there is always place for improvement.


References:
http://vimperator.org/vimperator

[How To] Reset Firefox Master Password

I recenlty forgot my firefox Master password and searched for process to recover/reset the master password and found this solution to reset it.

Note: Upon resetting, you will lose all the stored information in the Password Manager, as this is a built-in security feature to prevent people from simply resetting your Master Password to gain access to your passwords.

In the firefox Addressbar
Type

chrome://pippki/content/resetpassword.xul

press the “Enter” key and click “Reset”.

Hope this helps someone.

Referenced From : ‘http://kb.mozillazine.org/Master_password

[How To] Install FireFox4.0 Beta

Firefox 3.6.8 and Firefox 4.0b2 are available from ubuntu-mozilla-daily.
Open terminal,

Hit Alt+F2 then type “gnome-terminal” then hit enter.

Then enter these commands one by one

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox
sudo apt-get install firefox-4.0

That’s all now you have Firefox4.0 beta version. Remember to check for udpates regularly.

Firefox New Addons

Firefox4.0 Beta New Addons Manager

Firefox4.0 Beta New Addons Manager

Mozilla Developer Preview Tools Menu Items are Listed Below. As you can see it contains two new Menu Items. Inspect and Heads Up display.

Mozilla Tools Menu Items List

Mozilla Tools Menu Items List

When Inspect is selected, then it works like the firebug inspections, we can debug the elements of our webpage.

Heads Up Display allows us the freedom of selection of particular type of warnings and errors.
When Heads up Display is selected then we can toggle the different buttons and then click on the webpage, then the debug message will be shown in the console, which is at the top section & below the buttons.

Heads Up Display in Firefox Developer Preview Release

Heads Up Display in Firefox Developer Preview Release

Those with the Grayed and blurred are buttons in clicked state and other are in normal state.