Hide Icon In Right Click Menu

Ask for help about NoScript, no registration needed to post
egroeg

Hide Icon In Right Click Menu

Post 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?
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Hide Icon In Right Click Menu

Post by Giorgio Maone »

Can I see your userChrome.css items?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Hide Icon In Right Click Menu

Post by dhouwn »

Recently as of NoScript 2.0.9.7?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
egroeg

Re: Hide Icon In Right Click Menu

Post by egroeg »

Giorgio Maone wrote:Can I see your userChrome.css items?
Sure: http://pastie.org/1804951
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
egroeg

Re: Hide Icon In Right Click Menu

Post 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.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
egroeg

Re: Hide Icon In Right Click Menu

Post 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.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Hide Icon In Right Click Menu

Post 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
}
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
egroeg

Re: Hide Icon In Right Click Menu

Post 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
}
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Hide Icon In Right Click Menu

Post by Giorgio Maone »

try with visibility: hidden.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
egroeg

Re: Hide Icon In Right Click Menu

Post by egroeg »

Giorgio Maone wrote:try with visibility: hidden.
That worked. Thanks!
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Firefox/3.6.15
Post Reply