This is a very simple Firefox extension that will allow you to use the middle mouse button as a Go Back button. At the end of the browser history, it can also close the current tab.
Note: Some mouse drivers will set the middle mouse button to act as something else by default. You will need to disable that feature if you want to use this extension.
Download / Install