How do I disable (disappear) menuitem labels that have "..." suffix appended to them?
This works in css
menuitem[label="New Window"] { display: none !important; }
to get rid of labels but when I try to get rid of something with "..." at the end such as "Print..." it won't work!
What is wrong?
This works in css
menuitem[label="New Window"] { display: none !important; }
to get rid of labels but when I try to get rid of something with "..." at the end such as "Print..." it won't work!
What is wrong?
所有回复 (2)
The three dots are one ellipsis character: …
It is usually better to use the IDs of context menu items: #menu_print instead of menuitem[label="Print…"]
See also http://kb.mozillazine.org/kb.mozillazine.org/Chrome_element_names_and_IDs
The correct link to that page is http://kb.mozillazine.org/Chrome_element_names_and_IDs
由Helper7677于