Let's suppose that you want to hide tabs when you are entering Settings. Just add navigation in your constructor:
function SettingsStackScreen({ navigation }) {
navigation.setOptions({ tabBarVisible: false })
return (
<SettingsStack.Navigator>
<SettingsStack.Screen name="Settings" component={SettingsScreen} />
</SettingsStack.Navigator>
)
}
This code should work.
~/.mozilla/firefox/<profile>~/Library/Application Support/Firefox/Profiles/<profile folder>~/Library/Mozilla/Firefox/Profiles/<profile folder>%appdata%\Mozilla\Firefox\Profiles\<profile folder>Create directory if it doesn't existchrome/
Create file inside if it doesn't exist.chrome/userChrome.css
Add this text to the file:
#TabsToolbar { visibility: collapse !important; }
Ensure the config is set to toolkit.legacyUserProfileCustomizations.stylesheets (required for Firefox69+, the stable version since September 2019), see this tutorial.true
Save the file and reload firefox. You should see no tab bar anymore.
P.S. Solution partly taken from here: https://www.ghacks.net/2017/09/27/tree-style-tab-is-a-webextension-now/
UPDATE 2022-10-24: Starting from Firefox-106.0, there is also a Tab Manager / Tab View that needs to be disabled. To disablet it, set to falsebrowser.tabs.tabmanager.enabled