The pre-installed Firefox on Ubuntu is a customized version and lacks features; the full version can be downloaded from the Ubuntu Store.
Uninstall command
sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans unity-scope-firefoxbookmarks
Note: If it shows that a package is missing, just delete the corresponding package name from the previous command. Otherwise, you will not be able to continue.