On 8/27/2014 1:00 AM, David E. Ross wrote:
> On 8/26/2014 2:13 AM, Onno Ekker wrote:
>> On 8/24/2014 2:31 AM, David E. Ross wrote:
>>> Windows 7
>>> SeaMonkey 2.26.1
>>>
>>> If I mark text on a Web page and then right-click, the pull-down context
>>> menu shows "Serach Google for xxx", where "xxx" is the marked text
>>> string. While Google is my primary search service, I don't want it in
>>> the context menu. How can I get rid of it?
>>>
>>
>> Add the following three lines to your userChrome.css:
>>
>> #context-searchselect {
>> display: none;
>> }
>>
>> (Note: you can find the file userChrome.css in your profile directory in
>> the subdirectory chrome. Go to Help -> troubleshooting Information and
>> click on the Show Folder button under Application basics. If the
>> directory chrome or the file userChrome.css doesn't exist, you can
>> create it.)
>>
>> Onno
>>
>
> Yes, that works.
>
> However, I see a pair of horizontal divider lines where the search item
> used to be in the context menu. Is there a way to eliminate at least
> one of them?
>
The separator line following the search select is called
context-sep-properties (see
http://mxr.mozilla.org/comm-central/source/suite/common/contentAreaContextOverlay.xul#264).
You can hide it by adding the same three lines with
#context-sep-properties instead of #context-searchselect, or add the id
to the first line:
#context-searchselect, #context-sep-properties {
display: none;
}
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey