I think this behaviour is controlled by the settings in the window
manager rather than firefox. Try googling "ububtu when clicking a
link bring browser to foreground". If you don't have any luck, I can
try to look for where I've seen that setting in the past (asuming you
are not using unity - I can't help with that since I don't have it).