How can i hide "Inspect Element with Firebug" and its menuseparator

91 views
Skip to first unread message

oalite oalite

unread,
Sep 2, 2013, 9:33:58 AM9/2/13
to fir...@googlegroups.com
I want to show the firefox "Inspect Element" in the context menu, as i need it sometime. and hide the firebug "Inspect Element with Firebug", as i can wake firebug up by F12!

i can hide it by userChome.css
#menu_firebug_firebugInspect
{ display: none !important; }

but the goddamn menuseparator is still there

Jan Honza Odvarko

unread,
Sep 2, 2013, 9:52:51 AM9/2/13
to fir...@googlegroups.com
Try this:

#context-inspect + menuseparator,
#menu_firebug_firebugInspect {
    display: none !important;
}

(it assumes that Firebug's inspect  item comes after Firefox's inspect)

Honza

oalite oalite

unread,
Sep 2, 2013, 8:18:53 PM9/2/13
to fir...@googlegroups.com
#context-inspect + menuseparator doesn't work at all.

it seem that firebug menuitem is wrapped into an other menu element.

<menuitem id=context-inspect />
<menu>
      <menuseparator />
      <menuitem id=menu_firebug_firebugInspect />
</menu>

Jan Honza Odvarko

unread,
Sep 3, 2013, 11:19:05 AM9/3/13
to fir...@googlegroups.com

On Tuesday, September 3, 2013 2:18:53 AM UTC+2, oalite oalite wrote:
#context-inspect + menuseparator doesn't work at all.
Well it does work for me (but I have only Firebug installed in the Firefox profile)

it seem that firebug menuitem is wrapped into an other menu element.

<menuitem id=context-inspect />
<menu>
      <menuseparator />
      <menuitem id=menu_firebug_firebugInspect />
</menu>

What I see in DOM Inspector addon (https://addons.mozilla.org/en-us/firefox/addon/dom-inspector-6622/)
is the following:

<menuitem id=context-inspect />

<menuseparator />
<menuitem id=menu_firebug_firebugInspect />

Btw. I am running Firebug 1.12
 
Honza

Reply all
Reply to author
Forward
0 new messages