How can i remove the UI bar of GNOME thats on top of firefox? [Solved]

can anyone please tell me how can i remove GNOMES UI bar on firefox .
it looks very ugly and takes alot of space..
on chrome this bar doesnt seem to appear and i dont mind not being able to close firefox through the bar,i dont Use it anyway.....

The menu bar or the ui bar that's part of gnome?

the ui bar thats part of GNOME.

That's got nothing to do with Firefox and are on all the applications.

To remove the gnome title bar you could try this extension

oh well sorry about that....anyways problem solved so thanks alot..

Wasn't sure if you wanted something just for Firefox or system wide affecting.

Good it works. I think it puts some info into the top panel? I've not actually tried it yet.