Instead of using display: none, try height: 0px;

You might have to set min-height and max-height as well

Mike

On Wed, Nov 6, 2019 at 4:52 PM Benedict, Stew <
[email protected]> wrote:

>
>
> Hi,
>
> We are working towards migrating to RHEL7 and a newer firefox for our POS
> systems.  We fine tune the browser ui and run the browser as a seperate
> unpriviledged user, presenting them with a local homepage.html, with
> limited choices that take them either to the graphical POS app or to the
> home office portal.  As part of this "lockdown", in the past we have hidden
> the urlbar to prevent the users from going to arbitrary sites.  In our
> current 52.6 and a 60.8 build I did before moving to 68.X, I was able to do
> this via chrome/userChrome.css:
>
> /* Remove Page Actions Menu */
> #page-action-buttons
> {
>     display: none !important;
> }
> /* Remove the UI "sandwich" button */
> #PanelUI-menu-button
> {
>     display: none !important;
> }
> /* Remove the urlbar */
> #urlbar
> {
>     display: none !important;
> }
> /* Remove Developer Button (added via customize) */
> #developer-button
> {
>     display: none !important;
> }
>
> This still works to suppress the urlbar, and for home office/lab systems
> we have a mechanism to expose the urlbar and the developer tools icon for
> troubleshooting web pages.
>
> If the urlbar is exposed, homepage.html loads fine. If it is hidden, the
> page loads, the tab title changes as expected, but the page does not
> render, it is just white. If I click on the print icon, the preview renders
> the page.
>
> If I open a new tab and click on "home", which loads the same page, that
> tab renders fine.
>
> It doesn't seem to matter if I use homepage.html, or launch firefox with
> another url as the startup page (say www.google.com), that intial page
> still does not render.
>
> Any thoughts? Is there a better way to hide the urlbar?
>
> Thanks
>
>
> [image: 1461351937967_signet.png]
> *Stew Benedict*
>
>
> *Engineer IT III *
>
>
>
> The information contained in this e-mail message is privileged and/or
> confidential and is intended only for the use of the individual or entity
> named above. If the reader of this message is not the intended recipient,
> or the employee or agent responsible to deliver it to the intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have received
> this communications in error, please immediately notify us by telephone
> (330-668-5000), and destroy the original message. Thank you.
> _______________________________________________
> Enterprise mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> [email protected] with a subject of "unsubscribe"
>
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to