Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completely hide Firefox UI/Toolbox from popping up on mouseover when navbar is disabled #333

Open
padgriffin opened this issue Jan 23, 2025 · 4 comments

Comments

@padgriffin
Copy link

I found it annoying that the Firefox tab bar and other UI elements would still pop up when the mouse is near the top.

This can be effectively hidden/disabled completely by changing line 25 in userChrome.css from --browser-area-z-index-toolbox: 3; to --browser-area-z-index-toolbox: 0;. This is a bit of a hack but makes the WebApp feel native by not having the Firefox UI popping up.

@DanWolfstone
Copy link

For those who also struggled with this but can't find the profiles folder; check common.py (lines-51-61) to see where the profiles are for your specific browser.

replacing the entirety of userChrome.css with the following seemed to work well for me.

/* hides the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* leaves space for the window buttons */
#nav-bar {
  visibility: collapse;
}

@Justinzobel
Copy link

How do you know which profile belongs to which webapp for Firefox?

@Justinzobel
Copy link

I guess it would be nice if webapp-manager created the Firefox profile with the name of the app, if that is possible.

@Justinzobel
Copy link

I checked the .desktop file in ~/.local/share/applications and it directed me to ~/.local/share/ice/firefox/NameOfWebApp.

I added the code from @DanWolfstone and it works awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants