Page 1 of 1

Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 8:14 pm
by egroeg
Image

I use a combo of text only and userChrome.css to remove icons from Firefox in favour of text.

Recently the icons in the right click menu of NoScript have reappeared. Does anyone know how to remove them?

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 8:39 pm
by Giorgio Maone
Can I see your userChrome.css items?

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 8:45 pm
by dhouwn
Recently as of NoScript 2.0.9.7?

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 8:58 pm
by egroeg
Giorgio Maone wrote:Can I see your userChrome.css items?
Sure: http://pastie.org/1804951

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 9:02 pm
by egroeg
dhouwn wrote:Recently as of NoScript 2.0.9.7?
Not sure exactly... I'm running version 2.1.0.2 and have updated twice since noticing the changes. I update Add-ons manually.

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 9:06 pm
by egroeg
I've also checked all the userset items in about:config for leads on where this setting got toggled but didn't find anything.

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 9:16 pm
by Giorgio Maone
Add this:

Code: Select all

.menu-iconic[id*="noscript-"] > .menu-iconic-left,
.menu-iconic[class*="noscript-"] > .menu-iconic-left,
.menuitem-iconic[class*="noscript-"] > .menu-iconic-left {
  display: none
}

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 10:09 pm
by egroeg
Giorgio Maone wrote:Add this:

Code: Select all

.menu-iconic[id*="noscript-"] > .menu-iconic-left,
.menu-iconic[class*="noscript-"] > .menu-iconic-left,
.menuitem-iconic[class*="noscript-"] > .menu-iconic-left {
  display: none
}
Thanks, Giorgio; I wasn't able to get that to work though. Is there something I'm supposed to do inside the brackets?

I tried just killing the whole thing but this messes up alignment when there's checkboxes in the menu...

Code: Select all

#contentAreaContextMenu menuitem .menu-iconic-left,
#contentAreaContextMenu menu .menu-iconic-left{
display:none!important
}

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 10:17 pm
by Giorgio Maone
try with visibility: hidden.

Re: Hide Icon In Right Click Menu

Posted: Sun Apr 17, 2011 10:34 pm
by egroeg
Giorgio Maone wrote:try with visibility: hidden.
That worked. Thanks!