Inspect Firefox DOM components

0 views
Skip to first unread message

Benedict, Stew

unread,
Mar 11, 2022, 11:51:07 AMMar 11
to enter...@mozilla.org


How does one go about inspecting Firefox's own DOM/css to tweak appearance these days (ESR 91.6 RHEL7)?
I thought in the past I could use the inspector to inspect Firefox's own window.

In particular, we want to suppress the visibility of the urlbar and the sandwich menu.  The userChrome.css I was using before (68.2, we're very slow to update) is not working:

/* Remove the UI "sandwich" button */
#PanelUI-menu-button
{
    display: none !important;
}
/* Remove the urlbar */
#urlbar
{
    display: none !important;
}

Thanks!

1461351937967_signet.png
Stew Benedict
p 330-665-6588 | 375 Ghent Rd.
                              | Akron, Ohio 44333



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.

Mike Kaply

unread,
Mar 11, 2022, 6:27:10 PMMar 11
to Benedict, Stew, enter...@mozilla.org

--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/enterprise/CH2PR11MB422935BFC06F2E90A90DC576E80C9%40CH2PR11MB4229.namprd11.prod.outlook.com.

Benedict, Stew

unread,
Mar 15, 2022, 12:31:09 PMMar 15
to Mike Kaply, enter...@mozilla.org
Thanks. I knew I was missing something. Will update my notes.
Looks like I have the right naming, at least for the menu. urlbar looks like it's urlbar-container, which I also saw in prefs.js and tried. Will have to try and work out why they don't seem to be getting hidden. I did find your response from 2 years ago suggesting setting height 0px.

1461351937967_signet.png
Stew Benedict
p 330-665-6588 | 375 Ghent Rd.
                              | Akron, Ohio 44333


From: Mike Kaply <mka...@mozilla.com>
Sent: Friday, March 11, 2022 6:26 PM
To: Benedict, Stew <Stewart....@signetjewelers.com>
Cc: enter...@mozilla.org <enter...@mozilla.org>
Subject: Re: [Mozilla Enterprise] Inspect Firefox DOM components
 
CAUTION: This external email was sent to you by mka...@mozilla.com. Do not click links or open attachments unless you trust the sender and know the content is safe.


Reply all
Reply to author
Forward
0 new messages