Indeed, in that case let's try a few basic things.
This is a pram reset and it helps sort things out on your machine, followed by a safe boot, This cleans the caches and runs other maintenance routines.
To do a PRAM reset, you need to restart your machine and hold down these 4 keys.
‘Option’, ‘Command (Cloverleaf or Apple)’, ‘R’ and 'P'.
Keep them down until you hear 4 startup chimes, this is the sound your Mac makes on startup.
If you have a wireless keyboard then the procedure is a little bit different.
Use the very same keys but wait until the first chime and immediately press and hold those keys. I recommend getting your fingers ready because timing is critical.
This resets all of the system buses on your computer, USB, FireWire, display, ethernet and your keyboard/mouse/trackpad.
This will correct many faults but not necessarily yours.
Immediately following the fourth chime press and hold the shift key for the safe boot.
To do a Safe Boot, restart and before the first chime press and hold the 'Shift' key.
Wait until you see the Apple logo and the spinning gear appear, then let go.
It can take as long as 20 minutes to load, so please be patient.
When the login screen appears it will say in red on the login window 'SafeBoot'.
Now login and give it a few more minutes to finish loading.
Try doing whatever it was it was giving you the problem. If it works then probably the problem is solved, so restart normally.
If the problem persists then restart normally also, other fixes will need to be done.
Now try Firefox.