At the beginning, you need to install Greasemonkey Add-on to the Firefox browser. You can download this add-on from this link. Install the Add-on and then restart Firefox to apply new changes.
Now, You also need to install Facebook chat Enhancer. Get the Facebook chat Enhancer from this link
Do not forget to leave your comments below.