How to remove "Set Up Firefox Sync" button and related "Sync" items using userChrome.css on Firefox 4.0 final

I'm reporting this question in hopes someone else will see it.

Hi all,

I've already done my homework and found a page
(http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
detailing the necessary items to be put into userChrome.css. However,
when I try the options detailed by the author, I still see that "Set
Up Firefox Sync" under Tools > Options > Sync. Basically, it doesn't
seem to work.

I've pasted the below into my userChrome.css but I still see the Set
Up Firefox Sync button.

menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
#sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
#sync-status-button, #BrowserPreferences radio[label="Sync"]
{display:none!important;} 

My userChrome.css currently looks like this:

#addonsMgrGroup,
#bookmarksToolbarFolderMenu,
#bookmarks-menu,
#component-bar,
#context-setWallpaper,
#context-setDesktopBackground,
#context-blockimage,
#context-bookmarkframe,
#context-bookmarklink,
#context-bookmarkpage,
#context-keywordfield,
#context-sendaudio,
#context-sendimage,
#context-sendlink,
#context-sendpage,
#context-sendvideo,
#defaultBrowserButton,
#organizeBookmarksSeparator,
#popupPolicyButton,
menu[label="Bookmarks Toolbar Folder"] {display: none !important;}

menu[label="Tools"] menuitem[label="Sync Now"],
#sync-button,
#sync-setup-appmenu,
#sync-syncnowitem-appmenu,
#sync-setup,
#sync-status-button,
#BrowserPreferences radio[label="Sync"] {display: none !important;}

Any help would be greatly appreciated.

- Thee Chicago Wolf [MVP]
0
Thee
4/13/2011 5:16:33 PM
mozilla.support.firefox 24319 articles. 10 followers. Post Follow

45 Replies
2052 Views

Similar Articles

[PageSpeed] 38

On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
> I'm reporting this question in hopes someone else will see it.
>
> Hi all,
>
> I've already done my homework and found a page
> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
> detailing the necessary items to be put into userChrome.css. However,
> when I try the options detailed by the author, I still see that "Set
> Up Firefox Sync" under Tools>  Options>  Sync. Basically, it doesn't
> seem to work.
>
> I've pasted the below into my userChrome.css but I still see the Set
> Up Firefox Sync button.
>
> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
> #sync-status-button, #BrowserPreferences radio[label="Sync"]
> {display:none!important;}
>
> My userChrome.css currently looks like this:
>
> #addonsMgrGroup,
> #bookmarksToolbarFolderMenu,
> #bookmarks-menu,
> #component-bar,
> #context-setWallpaper,
> #context-setDesktopBackground,
> #context-blockimage,
> #context-bookmarkframe,
> #context-bookmarklink,
> #context-bookmarkpage,
> #context-keywordfield,
> #context-sendaudio,
> #context-sendimage,
> #context-sendlink,
> #context-sendpage,
> #context-sendvideo,
> #defaultBrowserButton,
> #organizeBookmarksSeparator,
> #popupPolicyButton,
> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>
> menu[label="Tools"] menuitem[label="Sync Now"],
> #sync-button,
> #sync-setup-appmenu,
> #sync-syncnowitem-appmenu,
> #sync-setup,
> #sync-status-button,
> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>
> Any help would be greatly appreciated.
>
Try replacing:
	#BrowserPreferences radio[label="Sync"] {display: none !important;}

with:

#BrowserPreferences radio[pane="paneSync"] {display: none !important;}

Good luck!



-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/13/2011 6:43:43 PM
>On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>> I'm reporting this question in hopes someone else will see it.
>>
>> Hi all,
>>
>> I've already done my homework and found a page
>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>> detailing the necessary items to be put into userChrome.css. However,
>> when I try the options detailed by the author, I still see that "Set
>> Up Firefox Sync" under Tools>  Options>  Sync. Basically, it doesn't
>> seem to work.
>>
>> I've pasted the below into my userChrome.css but I still see the Set
>> Up Firefox Sync button.
>>
>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>> {display:none!important;}
>>
>> My userChrome.css currently looks like this:
>>
>> #addonsMgrGroup,
>> #bookmarksToolbarFolderMenu,
>> #bookmarks-menu,
>> #component-bar,
>> #context-setWallpaper,
>> #context-setDesktopBackground,
>> #context-blockimage,
>> #context-bookmarkframe,
>> #context-bookmarklink,
>> #context-bookmarkpage,
>> #context-keywordfield,
>> #context-sendaudio,
>> #context-sendimage,
>> #context-sendlink,
>> #context-sendpage,
>> #context-sendvideo,
>> #defaultBrowserButton,
>> #organizeBookmarksSeparator,
>> #popupPolicyButton,
>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>
>> menu[label="Tools"] menuitem[label="Sync Now"],
>> #sync-button,
>> #sync-setup-appmenu,
>> #sync-syncnowitem-appmenu,
>> #sync-setup,
>> #sync-status-button,
>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>
>> Any help would be greatly appreciated.
>>
>Try replacing:
>	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>
>with:
>
>#BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>
>Good luck!

I'll give it a shot. Thanks.
0
Thee
4/14/2011 1:43:51 AM
On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>> I'm reporting this question in hopes someone else will see it.
>>>
>>> Hi all,
>>>
>>> I've already done my homework and found a page
>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>> detailing the necessary items to be put into userChrome.css. However,
>>> when I try the options detailed by the author, I still see that "Set
>>> Up Firefox Sync" under Tools>   Options>   Sync. Basically, it doesn't
>>> seem to work.
>>>
>>> I've pasted the below into my userChrome.css but I still see the Set
>>> Up Firefox Sync button.
>>>
>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>> {display:none!important;}
>>>
>>> My userChrome.css currently looks like this:
>>>
>>> #addonsMgrGroup,
>>> #bookmarksToolbarFolderMenu,
>>> #bookmarks-menu,
>>> #component-bar,
>>> #context-setWallpaper,
>>> #context-setDesktopBackground,
>>> #context-blockimage,
>>> #context-bookmarkframe,
>>> #context-bookmarklink,
>>> #context-bookmarkpage,
>>> #context-keywordfield,
>>> #context-sendaudio,
>>> #context-sendimage,
>>> #context-sendlink,
>>> #context-sendpage,
>>> #context-sendvideo,
>>> #defaultBrowserButton,
>>> #organizeBookmarksSeparator,
>>> #popupPolicyButton,
>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>
>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>> #sync-button,
>>> #sync-setup-appmenu,
>>> #sync-syncnowitem-appmenu,
>>> #sync-setup,
>>> #sync-status-button,
>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>
>>> Any help would be greatly appreciated.
>>>
>> Try replacing:
>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>
>> with:
>>
>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>
>> Good luck!
>
> I'll give it a shot. Thanks.

Sure thing.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/14/2011 6:06:07 AM
On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>> I'm reporting this question in hopes someone else will see it.
>>>>
>>>> Hi all,
>>>>
>>>> I've already done my homework and found a page
>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>> detailing the necessary items to be put into userChrome.css. However,
>>>> when I try the options detailed by the author, I still see that "Set
>>>> Up Firefox Sync" under Tools>   Options>   Sync. Basically, it doesn't
>>>> seem to work.
>>>>
>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>> Up Firefox Sync button.
>>>>
>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>> {display:none!important;}
>>>>
>>>> My userChrome.css currently looks like this:
>>>>
>>>> #addonsMgrGroup,
>>>> #bookmarksToolbarFolderMenu,
>>>> #bookmarks-menu,
>>>> #component-bar,
>>>> #context-setWallpaper,
>>>> #context-setDesktopBackground,
>>>> #context-blockimage,
>>>> #context-bookmarkframe,
>>>> #context-bookmarklink,
>>>> #context-bookmarkpage,
>>>> #context-keywordfield,
>>>> #context-sendaudio,
>>>> #context-sendimage,
>>>> #context-sendlink,
>>>> #context-sendpage,
>>>> #context-sendvideo,
>>>> #defaultBrowserButton,
>>>> #organizeBookmarksSeparator,
>>>> #popupPolicyButton,
>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>
>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>> #sync-button,
>>>> #sync-setup-appmenu,
>>>> #sync-syncnowitem-appmenu,
>>>> #sync-setup,
>>>> #sync-status-button,
>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>
>>>> Any help would be greatly appreciated.
>>>>
>>> Try replacing:
>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>
>>> with:
>>>
>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>
>>> Good luck!
>>
>> I'll give it a shot. Thanks.
>
>Sure thing.

Well, I tried it and the "Set Up Firefox Sync" button under Tools >
Options >  Sync is still there. Thanks for the suggestion. By the way,
where did you find the info on #BrowserPreferences
radio[pane="paneSync"] {display: none !important;}

- Thee Chicago Wolf [MVP]
0
Thee
4/14/2011 3:51:08 PM
On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>
>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I've already done my homework and found a page
>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>> when I try the options detailed by the author, I still see that "Set
>>>>> Up Firefox Sync" under Tools>    Options>    Sync. Basically, it doesn't
>>>>> seem to work.
>>>>>
>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>> Up Firefox Sync button.
>>>>>
>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>> {display:none!important;}
>>>>>
>>>>> My userChrome.css currently looks like this:
>>>>>
>>>>> #addonsMgrGroup,
>>>>> #bookmarksToolbarFolderMenu,
>>>>> #bookmarks-menu,
>>>>> #component-bar,
>>>>> #context-setWallpaper,
>>>>> #context-setDesktopBackground,
>>>>> #context-blockimage,
>>>>> #context-bookmarkframe,
>>>>> #context-bookmarklink,
>>>>> #context-bookmarkpage,
>>>>> #context-keywordfield,
>>>>> #context-sendaudio,
>>>>> #context-sendimage,
>>>>> #context-sendlink,
>>>>> #context-sendpage,
>>>>> #context-sendvideo,
>>>>> #defaultBrowserButton,
>>>>> #organizeBookmarksSeparator,
>>>>> #popupPolicyButton,
>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>
>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>> #sync-button,
>>>>> #sync-setup-appmenu,
>>>>> #sync-syncnowitem-appmenu,
>>>>> #sync-setup,
>>>>> #sync-status-button,
>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>
>>>>> Any help would be greatly appreciated.
>>>>>
>>>> Try replacing:
>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>
>>>> with:
>>>>
>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>
>>>> Good luck!
>>>
>>> I'll give it a shot. Thanks.
>>
>> Sure thing.
>
> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
> Options>   Sync is still there. Thanks for the suggestion. By the way,
> where did you find the info on #BrowserPreferences
> radio[pane="paneSync"] {display: none !important;}
>
The DOM Inspector add-on allows you to interrogate both Chrome and 
Content elements. I simply interrogated the Sync button of the Option 
panel (chrome://browser/content/preferences/preferences.xul).

btw, I tested the override above on my system to insure that it hid the 
Sync button and it's panel. If it's not working on your system, that may 
indicate that you're either not adding the override in the correct 
userChrome.css file (perhaps from a different profile?), your 
userChrome.css file may have another entry nullifying the one I gave you 
or you may have not entered the override correctly.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/14/2011 4:36:24 PM
>On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>
>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I've already done my homework and found a page
>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>> Up Firefox Sync" under Tools>    Options>    Sync. Basically, it doesn't
>>>>>> seem to work.
>>>>>>
>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>> Up Firefox Sync button.
>>>>>>
>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>> {display:none!important;}
>>>>>>
>>>>>> My userChrome.css currently looks like this:
>>>>>>
>>>>>> #addonsMgrGroup,
>>>>>> #bookmarksToolbarFolderMenu,
>>>>>> #bookmarks-menu,
>>>>>> #component-bar,
>>>>>> #context-setWallpaper,
>>>>>> #context-setDesktopBackground,
>>>>>> #context-blockimage,
>>>>>> #context-bookmarkframe,
>>>>>> #context-bookmarklink,
>>>>>> #context-bookmarkpage,
>>>>>> #context-keywordfield,
>>>>>> #context-sendaudio,
>>>>>> #context-sendimage,
>>>>>> #context-sendlink,
>>>>>> #context-sendpage,
>>>>>> #context-sendvideo,
>>>>>> #defaultBrowserButton,
>>>>>> #organizeBookmarksSeparator,
>>>>>> #popupPolicyButton,
>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>
>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>> #sync-button,
>>>>>> #sync-setup-appmenu,
>>>>>> #sync-syncnowitem-appmenu,
>>>>>> #sync-setup,
>>>>>> #sync-status-button,
>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>
>>>>>> Any help would be greatly appreciated.
>>>>>>
>>>>> Try replacing:
>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>
>>>>> with:
>>>>>
>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>
>>>>> Good luck!
>>>>
>>>> I'll give it a shot. Thanks.
>>>
>>> Sure thing.
>>
>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>> Options>   Sync is still there. Thanks for the suggestion. By the way,
>> where did you find the info on #BrowserPreferences
>> radio[pane="paneSync"] {display: none !important;}
>>
>The DOM Inspector add-on allows you to interrogate both Chrome and 
>Content elements. I simply interrogated the Sync button of the Option 
>panel (chrome://browser/content/preferences/preferences.xul).
>
>btw, I tested the override above on my system to insure that it hid the 
>Sync button and it's panel. If it's not working on your system, that may 
>indicate that you're either not adding the override in the correct 
>userChrome.css file (perhaps from a different profile?), your 
>userChrome.css file may have another entry nullifying the one I gave you 
>or you may have not entered the override correctly.

Yes, that would make sense. However, I am dropping it in C:\Program
Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
hiding the other things as usual. Where else could a userChrome.css be
hiding? I search the entire drive (hidden files and all) and no other
userChrome.css is showing up that might be thwarting me. I'll simply
try your entry alone and remove the others and report back.

- Thee Chicago Wolf [MVP]
0
Thee
4/14/2011 6:33:50 PM
Thee Chicago Wolf [MVP] wrote:
>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>
>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've already done my homework and found a page
>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>> Up Firefox Sync" under Tools>     Options>     Sync. Basically, it doesn't
>>>>>>> seem to work.
>>>>>>>
>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>> Up Firefox Sync button.
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>> {display:none!important;}
>>>>>>>
>>>>>>> My userChrome.css currently looks like this:
>>>>>>>
>>>>>>> #addonsMgrGroup,
>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>> #bookmarks-menu,
>>>>>>> #component-bar,
>>>>>>> #context-setWallpaper,
>>>>>>> #context-setDesktopBackground,
>>>>>>> #context-blockimage,
>>>>>>> #context-bookmarkframe,
>>>>>>> #context-bookmarklink,
>>>>>>> #context-bookmarkpage,
>>>>>>> #context-keywordfield,
>>>>>>> #context-sendaudio,
>>>>>>> #context-sendimage,
>>>>>>> #context-sendlink,
>>>>>>> #context-sendpage,
>>>>>>> #context-sendvideo,
>>>>>>> #defaultBrowserButton,
>>>>>>> #organizeBookmarksSeparator,
>>>>>>> #popupPolicyButton,
>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>> #sync-button,
>>>>>>> #sync-setup-appmenu,
>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>> #sync-setup,
>>>>>>> #sync-status-button,
>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>
>>>>>>> Any help would be greatly appreciated.
>>>>>>>
>>>>>> Try replacing:
>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>
>>>>>> with:
>>>>>>
>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>
>>>>>> Good luck!
>>>>>
>>>>> I'll give it a shot. Thanks.
>>>>
>>>> Sure thing.
>>>
>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>> Options>    Sync is still there. Thanks for the suggestion. By the way,
>>> where did you find the info on #BrowserPreferences
>>> radio[pane="paneSync"] {display: none !important;}
>>>
>> The DOM Inspector add-on allows you to interrogate both Chrome and
>> Content elements. I simply interrogated the Sync button of the Option
>> panel (chrome://browser/content/preferences/preferences.xul).
>>
>> btw, I tested the override above on my system to insure that it hid the
>> Sync button and it's panel. If it's not working on your system, that may
>> indicate that you're either not adding the override in the correct
>> userChrome.css file (perhaps from a different profile?), your
>> userChrome.css file may have another entry nullifying the one I gave you
>> or you may have not entered the override correctly.
>
> Yes, that would make sense. However, I am dropping it in C:\Program
> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
> hiding the other things as usual. Where else could a userChrome.css be
> hiding? I search the entire drive (hidden files and all) and no other
> userChrome.css is showing up that might be thwarting me. I'll simply
> try your entry alone and remove the others and report back.
>
> - Thee Chicago Wolf [MVP]
This page will help you find the path to your profile folder:
http://kb.mozillazine.org/Profile_folder_-_Firefox

Alternatively click Help >Troubleshooting Information, then click the 
"Open Containing Folder" button which will open your profile folder. 
Incide that folder there should be a folder labeled Chrome.  The 
userChrome.css, I think, doesn't exist by default, but if one has been 
created it will be in that Chrome folder.  If it's not there, just 
create an empty text file in the folder and name it userChrome.css. 
(Note the uppercase C in the file name.)
Dave Pyles
0
David
4/14/2011 6:56:41 PM
On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>
>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've already done my homework and found a page
>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>> Up Firefox Sync" under Tools>     Options>     Sync. Basically, it doesn't
>>>>>>> seem to work.
>>>>>>>
>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>> Up Firefox Sync button.
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>> {display:none!important;}
>>>>>>>
>>>>>>> My userChrome.css currently looks like this:
>>>>>>>
>>>>>>> #addonsMgrGroup,
>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>> #bookmarks-menu,
>>>>>>> #component-bar,
>>>>>>> #context-setWallpaper,
>>>>>>> #context-setDesktopBackground,
>>>>>>> #context-blockimage,
>>>>>>> #context-bookmarkframe,
>>>>>>> #context-bookmarklink,
>>>>>>> #context-bookmarkpage,
>>>>>>> #context-keywordfield,
>>>>>>> #context-sendaudio,
>>>>>>> #context-sendimage,
>>>>>>> #context-sendlink,
>>>>>>> #context-sendpage,
>>>>>>> #context-sendvideo,
>>>>>>> #defaultBrowserButton,
>>>>>>> #organizeBookmarksSeparator,
>>>>>>> #popupPolicyButton,
>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>> #sync-button,
>>>>>>> #sync-setup-appmenu,
>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>> #sync-setup,
>>>>>>> #sync-status-button,
>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>
>>>>>>> Any help would be greatly appreciated.
>>>>>>>
>>>>>> Try replacing:
>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>
>>>>>> with:
>>>>>>
>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>
>>>>>> Good luck!
>>>>>
>>>>> I'll give it a shot. Thanks.
>>>>
>>>> Sure thing.
>>>
>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>> Options>    Sync is still there. Thanks for the suggestion. By the way,
>>> where did you find the info on #BrowserPreferences
>>> radio[pane="paneSync"] {display: none !important;}
>>>
>> The DOM Inspector add-on allows you to interrogate both Chrome and
>> Content elements. I simply interrogated the Sync button of the Option
>> panel (chrome://browser/content/preferences/preferences.xul).
>>
>> btw, I tested the override above on my system to insure that it hid the
>> Sync button and it's panel. If it's not working on your system, that may
>> indicate that you're either not adding the override in the correct
>> userChrome.css file (perhaps from a different profile?), your
>> userChrome.css file may have another entry nullifying the one I gave you
>> or you may have not entered the override correctly.
>
> Yes, that would make sense. However, I am dropping it in C:\Program
> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
> hiding the other things as usual. Where else could a userChrome.css be
> hiding? I search the entire drive (hidden files and all) and no other
> userChrome.css is showing up that might be thwarting me. I'll simply
> try your entry alone and remove the others and report back.
>
That is not the location where it should reside; rather, it should 
reside in your Firefox profile's Chrome folder. The link below gives you 
instructions on how to locate it on your system:

http://support.mozilla.com/en-US/kb/Profiles

After opening the profile folder, navigate to its Chrome\ folder. You 
should be able to Cut your existing userChrome.css file from your 
Firefox 4 installation Chrome folder and Paste it into your open profile 
Chrome/ folder.

Note: Insure that Firefox is not running when you do this.

Good luck!

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/14/2011 6:57:51 PM
On Thu, 14 Apr 2011 09:36:24 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>
>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I've already done my homework and found a page
>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>> Up Firefox Sync" under Tools>    Options>    Sync. Basically, it doesn't
>>>>>> seem to work.
>>>>>>
>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>> Up Firefox Sync button.
>>>>>>
>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>> {display:none!important;}
>>>>>>
>>>>>> My userChrome.css currently looks like this:
>>>>>>
>>>>>> #addonsMgrGroup,
>>>>>> #bookmarksToolbarFolderMenu,
>>>>>> #bookmarks-menu,
>>>>>> #component-bar,
>>>>>> #context-setWallpaper,
>>>>>> #context-setDesktopBackground,
>>>>>> #context-blockimage,
>>>>>> #context-bookmarkframe,
>>>>>> #context-bookmarklink,
>>>>>> #context-bookmarkpage,
>>>>>> #context-keywordfield,
>>>>>> #context-sendaudio,
>>>>>> #context-sendimage,
>>>>>> #context-sendlink,
>>>>>> #context-sendpage,
>>>>>> #context-sendvideo,
>>>>>> #defaultBrowserButton,
>>>>>> #organizeBookmarksSeparator,
>>>>>> #popupPolicyButton,
>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>
>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>> #sync-button,
>>>>>> #sync-setup-appmenu,
>>>>>> #sync-syncnowitem-appmenu,
>>>>>> #sync-setup,
>>>>>> #sync-status-button,
>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>
>>>>>> Any help would be greatly appreciated.
>>>>>>
>>>>> Try replacing:
>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>
>>>>> with:
>>>>>
>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>
>>>>> Good luck!
>>>>
>>>> I'll give it a shot. Thanks.
>>>
>>> Sure thing.
>>
>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>> Options>   Sync is still there. Thanks for the suggestion. By the way,
>> where did you find the info on #BrowserPreferences
>> radio[pane="paneSync"] {display: none !important;}
>>
>The DOM Inspector add-on allows you to interrogate both Chrome and 
>Content elements. I simply interrogated the Sync button of the Option 
>panel (chrome://browser/content/preferences/preferences.xul).
>
>btw, I tested the override above on my system to insure that it hid the 
>Sync button and it's panel. If it's not working on your system, that may 
>indicate that you're either not adding the override in the correct 
>userChrome.css file (perhaps from a different profile?), your 
>userChrome.css file may have another entry nullifying the one I gave you 
>or you may have not entered the override correctly.

Ok, a little bit of progress. Simple using #BrowserPreferences
radio[pane="paneSync"] {display: none !important;} or, conversely,
#BrowserPreferences radio[label="Sync"] {display: none !important;}
and another entry in userChrome.css does hide Sync from the Tools >
Options menu but the "Set Up Firefox Sync" button is still there.

- Thee Chicago Wolf [MVP]
0
Thee
4/14/2011 7:52:02 PM
On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>>
>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I've already done my homework and found a page
>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>> Up Firefox Sync" under Tools>     Options>     Sync. Basically, it doesn't
>>>>>>>> seem to work.
>>>>>>>>
>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>> Up Firefox Sync button.
>>>>>>>>
>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>> {display:none!important;}
>>>>>>>>
>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>
>>>>>>>> #addonsMgrGroup,
>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>> #bookmarks-menu,
>>>>>>>> #component-bar,
>>>>>>>> #context-setWallpaper,
>>>>>>>> #context-setDesktopBackground,
>>>>>>>> #context-blockimage,
>>>>>>>> #context-bookmarkframe,
>>>>>>>> #context-bookmarklink,
>>>>>>>> #context-bookmarkpage,
>>>>>>>> #context-keywordfield,
>>>>>>>> #context-sendaudio,
>>>>>>>> #context-sendimage,
>>>>>>>> #context-sendlink,
>>>>>>>> #context-sendpage,
>>>>>>>> #context-sendvideo,
>>>>>>>> #defaultBrowserButton,
>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>> #popupPolicyButton,
>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>
>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>> #sync-button,
>>>>>>>> #sync-setup-appmenu,
>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>> #sync-setup,
>>>>>>>> #sync-status-button,
>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>
>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>
>>>>>>> Try replacing:
>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>
>>>>>>> with:
>>>>>>>
>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>
>>>>>>> Good luck!
>>>>>>
>>>>>> I'll give it a shot. Thanks.
>>>>>
>>>>> Sure thing.
>>>>
>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>> Options>    Sync is still there. Thanks for the suggestion. By the way,
>>>> where did you find the info on #BrowserPreferences
>>>> radio[pane="paneSync"] {display: none !important;}
>>>>
>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>> Content elements. I simply interrogated the Sync button of the Option
>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>
>>> btw, I tested the override above on my system to insure that it hid the
>>> Sync button and it's panel. If it's not working on your system, that may
>>> indicate that you're either not adding the override in the correct
>>> userChrome.css file (perhaps from a different profile?), your
>>> userChrome.css file may have another entry nullifying the one I gave you
>>> or you may have not entered the override correctly.
>>
>> Yes, that would make sense. However, I am dropping it in C:\Program
>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>> hiding the other things as usual. Where else could a userChrome.css be
>> hiding? I search the entire drive (hidden files and all) and no other
>> userChrome.css is showing up that might be thwarting me. I'll simply
>> try your entry alone and remove the others and report back.
>>
>That is not the location where it should reside; rather, it should 
>reside in your Firefox profile's Chrome folder. The link below gives you 
>instructions on how to locate it on your system:
>
>http://support.mozilla.com/en-US/kb/Profiles
>
>After opening the profile folder, navigate to its Chrome\ folder. You 
>should be able to Cut your existing userChrome.css file from your 
>Firefox 4 installation Chrome folder and Paste it into your open profile 
>Chrome/ folder.
>
>Note: Insure that Firefox is not running when you do this.
>
>Good luck!

Ok, so the mystery is a little bit solved. There is no chrome folder
in the profile folder. It shouldn't make a difference but this was a
Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
removes the chrome folder. I can manually add one and things work but
that's odd. For what it's worth, this is not pointing to the usual
location but to a custom location where the profile cannot be deleted.
I'll just leave it at that. Now that I have a handle on it, I'll do
some experimentation with it.

- Thee Chicago Wolf [MVP]
0
Thee
4/14/2011 8:17:31 PM
On 4/14/2011 1:17 PM On a whim, Thee Chicago Wolf [MVP] pounded out on 
the keyboard

> Ok, so the mystery is a little bit solved. There is no chrome folder
> in the profile folder. It shouldn't make a difference but this was a
> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
> removes the chrome folder. I can manually add one and things work but
> that's odd. For what it's worth, this is not pointing to the usual
> location but to a custom location where the profile cannot be deleted.
> I'll just leave it at that. Now that I have a handle on it, I'll do
> some experimentation with it.
>


If the chrome folder existed in 3.x, it would have been copied unless 
you created a new FF4 profile.  Then it would have been left up to you 
to copy over what you wanted from 3.x to 4.  I've never seen FF remove 
anything in the profile, so I doubt that happened.


Terry R.
-- 
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
0
Terry
4/14/2011 8:30:00 PM
>On 4/14/2011 1:17 PM On a whim, Thee Chicago Wolf [MVP] pounded out on 
>the keyboard
>
>> Ok, so the mystery is a little bit solved. There is no chrome folder
>> in the profile folder. It shouldn't make a difference but this was a
>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>> removes the chrome folder. I can manually add one and things work but
>> that's odd. For what it's worth, this is not pointing to the usual
>> location but to a custom location where the profile cannot be deleted.
>> I'll just leave it at that. Now that I have a handle on it, I'll do
>> some experimentation with it.
>>
>
>
>If the chrome folder existed in 3.x, it would have been copied unless 
>you created a new FF4 profile.  Then it would have been left up to you 
>to copy over what you wanted from 3.x to 4.  I've never seen FF remove 
>anything in the profile, so I doubt that happened.

Only one was for me to find out if that happened or not. Gonna test it
out.

- Thee Chicago Wolf [MVP]
0
Thee
4/14/2011 8:34:41 PM
Thee Chicago Wolf [MVP] on 4/14/2011 3:52 PM, keyboarded a reply:
> On Thu, 14 Apr 2011 09:36:24 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>
>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>
>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've already done my homework and found a page
>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>> Up Firefox Sync" under Tools>     Options>     Sync. Basically, it doesn't
>>>>>>> seem to work.
>>>>>>>
>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>> Up Firefox Sync button.
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>> {display:none!important;}
>>>>>>>
>>>>>>> My userChrome.css currently looks like this:
>>>>>>>
>>>>>>> #addonsMgrGroup,
>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>> #bookmarks-menu,
>>>>>>> #component-bar,
>>>>>>> #context-setWallpaper,
>>>>>>> #context-setDesktopBackground,
>>>>>>> #context-blockimage,
>>>>>>> #context-bookmarkframe,
>>>>>>> #context-bookmarklink,
>>>>>>> #context-bookmarkpage,
>>>>>>> #context-keywordfield,
>>>>>>> #context-sendaudio,
>>>>>>> #context-sendimage,
>>>>>>> #context-sendlink,
>>>>>>> #context-sendpage,
>>>>>>> #context-sendvideo,
>>>>>>> #defaultBrowserButton,
>>>>>>> #organizeBookmarksSeparator,
>>>>>>> #popupPolicyButton,
>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>
>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>> #sync-button,
>>>>>>> #sync-setup-appmenu,
>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>> #sync-setup,
>>>>>>> #sync-status-button,
>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>
>>>>>>> Any help would be greatly appreciated.
>>>>>>>
>>>>>> Try replacing:
>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>
>>>>>> with:
>>>>>>
>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>
>>>>>> Good luck!
>>>>>
>>>>> I'll give it a shot. Thanks.
>>>>
>>>> Sure thing.
>>>
>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>> Options>    Sync is still there. Thanks for the suggestion. By the way,
>>> where did you find the info on #BrowserPreferences
>>> radio[pane="paneSync"] {display: none !important;}
>>>
>> The DOM Inspector add-on allows you to interrogate both Chrome and
>> Content elements. I simply interrogated the Sync button of the Option
>> panel (chrome://browser/content/preferences/preferences.xul).
>>
>> btw, I tested the override above on my system to insure that it hid the
>> Sync button and it's panel. If it's not working on your system, that may
>> indicate that you're either not adding the override in the correct
>> userChrome.css file (perhaps from a different profile?), your
>> userChrome.css file may have another entry nullifying the one I gave you
>> or you may have not entered the override correctly.
>
> Ok, a little bit of progress. Simple using #BrowserPreferences
> radio[pane="paneSync"] {display: none !important;} or, conversely,
> #BrowserPreferences radio[label="Sync"] {display: none !important;}
> and another entry in userChrome.css does hide Sync from the Tools>
> Options menu but the "Set Up Firefox Sync" button is still there.
>
> - Thee Chicago Wolf [MVP]

If that button is on a toolbar, then it should be removable back to the 
toolbar Pallet by Drag&Drop.

-- 
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!
0
Ron
4/14/2011 10:50:36 PM
On 4/14/2011 3:50 PM, Ron K. wrote:
> Thee Chicago Wolf [MVP] on 4/14/2011 3:52 PM, keyboarded a reply:
>> On Thu, 14 Apr 2011 09:36:24 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>
>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I've already done my homework and found a page
>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>
>>>>>>>> detailing the necessary items to be put into userChrome.css.
>>>>>>>> However,
>>>>>>>> when I try the options detailed by the author, I still see that
>>>>>>>> "Set
>>>>>>>> Up Firefox Sync" under Tools> Options> Sync. Basically, it doesn't
>>>>>>>> seem to work.
>>>>>>>>
>>>>>>>> I've pasted the below into my userChrome.css but I still see the
>>>>>>>> Set
>>>>>>>> Up Firefox Sync button.
>>>>>>>>
>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>> {display:none!important;}
>>>>>>>>
>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>
>>>>>>>> #addonsMgrGroup,
>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>> #bookmarks-menu,
>>>>>>>> #component-bar,
>>>>>>>> #context-setWallpaper,
>>>>>>>> #context-setDesktopBackground,
>>>>>>>> #context-blockimage,
>>>>>>>> #context-bookmarkframe,
>>>>>>>> #context-bookmarklink,
>>>>>>>> #context-bookmarkpage,
>>>>>>>> #context-keywordfield,
>>>>>>>> #context-sendaudio,
>>>>>>>> #context-sendimage,
>>>>>>>> #context-sendlink,
>>>>>>>> #context-sendpage,
>>>>>>>> #context-sendvideo,
>>>>>>>> #defaultBrowserButton,
>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>> #popupPolicyButton,
>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>
>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>> #sync-button,
>>>>>>>> #sync-setup-appmenu,
>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>> #sync-setup,
>>>>>>>> #sync-status-button,
>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>
>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>
>>>>>>> Try replacing:
>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>
>>>>>>> with:
>>>>>>>
>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none
>>>>>>> !important;}
>>>>>>>
>>>>>>> Good luck!
>>>>>>
>>>>>> I'll give it a shot. Thanks.
>>>>>
>>>>> Sure thing.
>>>>
>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>> Options> Sync is still there. Thanks for the suggestion. By the way,
>>>> where did you find the info on #BrowserPreferences
>>>> radio[pane="paneSync"] {display: none !important;}
>>>>
>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>> Content elements. I simply interrogated the Sync button of the Option
>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>
>>> btw, I tested the override above on my system to insure that it hid the
>>> Sync button and it's panel. If it's not working on your system, that may
>>> indicate that you're either not adding the override in the correct
>>> userChrome.css file (perhaps from a different profile?), your
>>> userChrome.css file may have another entry nullifying the one I gave you
>>> or you may have not entered the override correctly.
>>
>> Ok, a little bit of progress. Simple using #BrowserPreferences
>> radio[pane="paneSync"] {display: none !important;} or, conversely,
>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>> and another entry in userChrome.css does hide Sync from the Tools>
>> Options menu but the "Set Up Firefox Sync" button is still there.
>>
>> - Thee Chicago Wolf [MVP]
>
> If that button is on a toolbar, then it should be removable back to the
> toolbar Pallet by Drag&Drop.
>
It's the whole Options Sync panel that he wants hidden. Also, he wants 
to hide the Sync button even from the palette. The Sync capability 
allows one to set up their own Sync server. His concern is that he will 
have his computers available to the public and that some nefarious 
individuals may set his computer up with the sync option and set the 
server up on one of their system and then gain access to the saved sync 
data of everyone who uses the feature on his public machines.

By hiding them this way, it will make it more difficult to do so.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/15/2011 12:36:23 AM
On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>
>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>
>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've already done my homework and found a page
>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>> seem to work.
>>>>>>>>>
>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>
>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>> {display:none!important;}
>>>>>>>>>
>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>
>>>>>>>>> #addonsMgrGroup,
>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>> #bookmarks-menu,
>>>>>>>>> #component-bar,
>>>>>>>>> #context-setWallpaper,
>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>> #context-blockimage,
>>>>>>>>> #context-bookmarkframe,
>>>>>>>>> #context-bookmarklink,
>>>>>>>>> #context-bookmarkpage,
>>>>>>>>> #context-keywordfield,
>>>>>>>>> #context-sendaudio,
>>>>>>>>> #context-sendimage,
>>>>>>>>> #context-sendlink,
>>>>>>>>> #context-sendpage,
>>>>>>>>> #context-sendvideo,
>>>>>>>>> #defaultBrowserButton,
>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>> #popupPolicyButton,
>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>
>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>> #sync-button,
>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>> #sync-setup,
>>>>>>>>> #sync-status-button,
>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>
>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>
>>>>>>>> Try replacing:
>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>
>>>>>>>> with:
>>>>>>>>
>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>
>>>>>>>> Good luck!
>>>>>>>
>>>>>>> I'll give it a shot. Thanks.
>>>>>>
>>>>>> Sure thing.
>>>>>
>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>> where did you find the info on #BrowserPreferences
>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>
>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>> Content elements. I simply interrogated the Sync button of the Option
>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>
>>>> btw, I tested the override above on my system to insure that it hid the
>>>> Sync button and it's panel. If it's not working on your system, that may
>>>> indicate that you're either not adding the override in the correct
>>>> userChrome.css file (perhaps from a different profile?), your
>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>> or you may have not entered the override correctly.
>>>
>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>> hiding the other things as usual. Where else could a userChrome.css be
>>> hiding? I search the entire drive (hidden files and all) and no other
>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>> try your entry alone and remove the others and report back.
>>>
>> That is not the location where it should reside; rather, it should
>> reside in your Firefox profile's Chrome folder. The link below gives you
>> instructions on how to locate it on your system:
>>
>> http://support.mozilla.com/en-US/kb/Profiles
>>
>> After opening the profile folder, navigate to its Chrome\ folder. You
>> should be able to Cut your existing userChrome.css file from your
>> Firefox 4 installation Chrome folder and Paste it into your open profile
>> Chrome/ folder.
>>
>> Note: Insure that Firefox is not running when you do this.
>>
>> Good luck!
>
> Ok, so the mystery is a little bit solved. There is no chrome folder
> in the profile folder. It shouldn't make a difference but this was a
> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
> removes the chrome folder. I can manually add one and things work but
> that's odd. For what it's worth, this is not pointing to the usual
> location but to a custom location where the profile cannot be deleted.
> I'll just leave it at that. Now that I have a handle on it, I'll do
> some experimentation with it.
>
Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
However, if you create it and put your userChrome.css file in it, the 
style overrides should work.


-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/15/2011 8:07:52 PM
Sailfish on 4/14/2011 8:36 PM, keyboarded a reply:
> On 4/14/2011 3:50 PM, Ron K. wrote:
>> Thee Chicago Wolf [MVP] on 4/14/2011 3:52 PM, keyboarded a reply:
>>> On Thu, 14 Apr 2011 09:36:24 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>
>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've already done my homework and found a page
>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> detailing the necessary items to be put into userChrome.css.
>>>>>>>>> However,
>>>>>>>>> when I try the options detailed by the author, I still see that
>>>>>>>>> "Set
>>>>>>>>> Up Firefox Sync" under Tools> Options> Sync. Basically, it doesn't
>>>>>>>>> seem to work.
>>>>>>>>>
>>>>>>>>> I've pasted the below into my userChrome.css but I still see the
>>>>>>>>> Set
>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>
>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>> {display:none!important;}
>>>>>>>>>
>>>>>>>>>[snip]
>>>
>>> Ok, a little bit of progress. Simple using #BrowserPreferences
>>> radio[pane="paneSync"] {display: none !important;} or, conversely,
>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>> and another entry in userChrome.css does hide Sync from the Tools>
>>> Options menu but the "Set Up Firefox Sync" button is still there.
>>>
>>> - Thee Chicago Wolf [MVP]
>>
>> If that button is on a toolbar, then it should be removable back to the
>> toolbar Pallet by Drag&Drop.
>>
> It's the whole Options Sync panel that he wants hidden. Also, he wants to
> hide the Sync button even from the palette. The Sync capability allows one
> to set up their own Sync server. His concern is that he will have his
> computers available to the public and that some nefarious individuals may
> set his computer up with the sync option and set the server up on one of
> their system and then gain access to the saved sync data of everyone who
> uses the feature on his public machines.
>
> By hiding them this way, it will make it more difficult to do so.
>

Sounds like a better solution would be locking down the feature through 
what ever replaced CAPS in the Gecko backend.

-- 
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!
0
Ron
4/15/2011 8:33:19 PM
>On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>
>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>
>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>> seem to work.
>>>>>>>>>>
>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>
>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>> {display:none!important;}
>>>>>>>>>>
>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>
>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>> #component-bar,
>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>> #context-blockimage,
>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>> #context-keywordfield,
>>>>>>>>>> #context-sendaudio,
>>>>>>>>>> #context-sendimage,
>>>>>>>>>> #context-sendlink,
>>>>>>>>>> #context-sendpage,
>>>>>>>>>> #context-sendvideo,
>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>> #sync-button,
>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>> #sync-setup,
>>>>>>>>>> #sync-status-button,
>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>
>>>>>>>>> Try replacing:
>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>
>>>>>>>>> with:
>>>>>>>>>
>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>
>>>>>>>>> Good luck!
>>>>>>>>
>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>
>>>>>>> Sure thing.
>>>>>>
>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>> where did you find the info on #BrowserPreferences
>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>
>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>
>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>> indicate that you're either not adding the override in the correct
>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>> or you may have not entered the override correctly.
>>>>
>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>> try your entry alone and remove the others and report back.
>>>>
>>> That is not the location where it should reside; rather, it should
>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>> instructions on how to locate it on your system:
>>>
>>> http://support.mozilla.com/en-US/kb/Profiles
>>>
>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>> should be able to Cut your existing userChrome.css file from your
>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>> Chrome/ folder.
>>>
>>> Note: Insure that Firefox is not running when you do this.
>>>
>>> Good luck!
>>
>> Ok, so the mystery is a little bit solved. There is no chrome folder
>> in the profile folder. It shouldn't make a difference but this was a
>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>> removes the chrome folder. I can manually add one and things work but
>> that's odd. For what it's worth, this is not pointing to the usual
>> location but to a custom location where the profile cannot be deleted.
>> I'll just leave it at that. Now that I have a handle on it, I'll do
>> some experimentation with it.
>>
>Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>However, if you create it and put your userChrome.css file in it, the 
>style overrides should work.

Yup, this is confirmed on my side two. Other folders from the 3.6.x
days are gone too. I guess I just have to work around it. Thanks
immensely for the help.
0
Thee
4/16/2011 6:49:40 PM
>Sailfish on 4/14/2011 8:36 PM, keyboarded a reply:
>> On 4/14/2011 3:50 PM, Ron K. wrote:
>>> Thee Chicago Wolf [MVP] on 4/14/2011 3:52 PM, keyboarded a reply:
>>>> On Thu, 14 Apr 2011 09:36:24 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>
>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> detailing the necessary items to be put into userChrome.css.
>>>>>>>>>> However,
>>>>>>>>>> when I try the options detailed by the author, I still see that
>>>>>>>>>> "Set
>>>>>>>>>> Up Firefox Sync" under Tools> Options> Sync. Basically, it doesn't
>>>>>>>>>> seem to work.
>>>>>>>>>>
>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the
>>>>>>>>>> Set
>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>
>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>> {display:none!important;}
>>>>>>>>>>
>>>>>>>>>>[snip]
>>>>
>>>> Ok, a little bit of progress. Simple using #BrowserPreferences
>>>> radio[pane="paneSync"] {display: none !important;} or, conversely,
>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>> and another entry in userChrome.css does hide Sync from the Tools>
>>>> Options menu but the "Set Up Firefox Sync" button is still there.
>>>>
>>>> - Thee Chicago Wolf [MVP]
>>>
>>> If that button is on a toolbar, then it should be removable back to the
>>> toolbar Pallet by Drag&Drop.
>>>
>> It's the whole Options Sync panel that he wants hidden. Also, he wants to
>> hide the Sync button even from the palette. The Sync capability allows one
>> to set up their own Sync server. His concern is that he will have his
>> computers available to the public and that some nefarious individuals may
>> set his computer up with the sync option and set the server up on one of
>> their system and then gain access to the saved sync data of everyone who
>> uses the feature on his public machines.
>>
>> By hiding them this way, it will make it more difficult to do so.
>>
>
>Sounds like a better solution would be locking down the feature through 
>what ever replaced CAPS in the Gecko backend.

Well, removing the whole Sync tab itself would be fine enough but
really just having the button gone would be enough. I just don't need
curious people to be curious. Cheers.
0
Thee
4/16/2011 6:50:51 PM
On 4/16/2011 1:49 PM, Thee Chicago Wolf (MVP) wrote:
>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>
>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>     wrote:
>>>>>>>
>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>> Up Firefox Sync" under Tools>       Options>       Sync. Basically, it doesn't
>>>>>>>>>>> seem to work.
>>>>>>>>>>>
>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>
>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>
>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>
>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>> #component-bar,
>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>> #sync-button,
>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>> #sync-setup,
>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>
>>>>>>>>>> Try replacing:
>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> with:
>>>>>>>>>>
>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> Good luck!
>>>>>>>>>
>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>
>>>>>>>> Sure thing.
>>>>>>>
>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>> Options>      Sync is still there. Thanks for the suggestion. By the way,
>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>
>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>
>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>> indicate that you're either not adding the override in the correct
>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>> or you may have not entered the override correctly.
>>>>>
>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>> try your entry alone and remove the others and report back.
>>>>>
>>>> That is not the location where it should reside; rather, it should
>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>> instructions on how to locate it on your system:
>>>>
>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>
>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>> should be able to Cut your existing userChrome.css file from your
>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>> Chrome/ folder.
>>>>
>>>> Note: Insure that Firefox is not running when you do this.
>>>>
>>>> Good luck!
>>>
>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>> in the profile folder. It shouldn't make a difference but this was a
>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>> removes the chrome folder. I can manually add one and things work but
>>> that's odd. For what it's worth, this is not pointing to the usual
>>> location but to a custom location where the profile cannot be deleted.
>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>> some experimentation with it.
>>>
>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder.
>> However, if you create it and put your userChrome.css file in it, the
>> style overrides should work.
>
> Yup, this is confirmed on my side two. Other folders from the 3.6.x
> days are gone too. I guess I just have to work around it. Thanks
> immensely for the help.

Yes, I noticed that also.  I guess if it isn't needed, it isn't created.
Who needs a bunch of empty folders?

0
Ron
4/16/2011 8:32:12 PM
Thee Chicago Wolf (MVP) wrote:
>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>
>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>
>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>> seem to work.
>>>>>>>>>>>
>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>
>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>
>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>
>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>> #component-bar,
>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>> #sync-button,
>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>> #sync-setup,
>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>
>>>>>>>>>> Try replacing:
>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> with:
>>>>>>>>>>
>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>>> Good luck!
>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>> Sure thing.
>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>
>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>
>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>> indicate that you're either not adding the override in the correct
>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>> or you may have not entered the override correctly.
>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>> try your entry alone and remove the others and report back.
>>>>>
>>>> That is not the location where it should reside; rather, it should
>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>> instructions on how to locate it on your system:
>>>>
>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>
>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>> should be able to Cut your existing userChrome.css file from your
>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>> Chrome/ folder.
>>>>
>>>> Note: Insure that Firefox is not running when you do this.
>>>>
>>>> Good luck!
>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>> in the profile folder. It shouldn't make a difference but this was a
>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>> removes the chrome folder. I can manually add one and things work but
>>> that's odd. For what it's worth, this is not pointing to the usual
>>> location but to a custom location where the profile cannot be deleted.
>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>> some experimentation with it.
>>>
>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>> However, if you create it and put your userChrome.css file in it, the 
>> style overrides should work.
> 
> Yup, this is confirmed on my side two. Other folders from the 3.6.x
> days are gone too. I guess I just have to work around it. Thanks
> immensely for the help.

It's not clear from your response but I want to insure that you 
understand that even though Fx 4 no longer automatically adds the 
profile Chrome/ folder, you can simply manually add it yourself, place 
your userChrome.css file in it and Fx 4 will use the style overrides in 
it just as it has done with previous releases.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/18/2011 7:23:13 PM
>Thee Chicago Wolf (MVP) wrote:
>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>
>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>
>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>
>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>
>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>
>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>
>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>
>>>>>>>>>>> Try replacing:
>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> with:
>>>>>>>>>>>
>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> Good luck!
>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>> Sure thing.
>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>
>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>
>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>> or you may have not entered the override correctly.
>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>> try your entry alone and remove the others and report back.
>>>>>>
>>>>> That is not the location where it should reside; rather, it should
>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>> instructions on how to locate it on your system:
>>>>>
>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>
>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>> should be able to Cut your existing userChrome.css file from your
>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>> Chrome/ folder.
>>>>>
>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>
>>>>> Good luck!
>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>> in the profile folder. It shouldn't make a difference but this was a
>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>> removes the chrome folder. I can manually add one and things work but
>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>> location but to a custom location where the profile cannot be deleted.
>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>> some experimentation with it.
>>>>
>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>> However, if you create it and put your userChrome.css file in it, the 
>>> style overrides should work.
>> 
>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>> days are gone too. I guess I just have to work around it. Thanks
>> immensely for the help.
>
>It's not clear from your response but I want to insure that you 
>understand that even though Fx 4 no longer automatically adds the 
>profile Chrome/ folder, you can simply manually add it yourself, place 
>your userChrome.css file in it and Fx 4 will use the style overrides in 
>it just as it has done with previous releases.

Yup, I did get that. Thanks for the follow up! =)

- Thee Chicago Wolf [MVP]
0
Thee
4/18/2011 9:38:18 PM
>Thee Chicago Wolf (MVP) wrote:
>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>
>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>
>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>
>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>
>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>
>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>
>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>
>>>>>>>>>>> Try replacing:
>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> with:
>>>>>>>>>>>
>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>>> Good luck!
>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>> Sure thing.
>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>
>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>
>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>> or you may have not entered the override correctly.
>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>> try your entry alone and remove the others and report back.
>>>>>>
>>>>> That is not the location where it should reside; rather, it should
>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>> instructions on how to locate it on your system:
>>>>>
>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>
>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>> should be able to Cut your existing userChrome.css file from your
>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>> Chrome/ folder.
>>>>>
>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>
>>>>> Good luck!
>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>> in the profile folder. It shouldn't make a difference but this was a
>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>> removes the chrome folder. I can manually add one and things work but
>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>> location but to a custom location where the profile cannot be deleted.
>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>> some experimentation with it.
>>>>
>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>> However, if you create it and put your userChrome.css file in it, the 
>>> style overrides should work.
>> 
>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>> days are gone too. I guess I just have to work around it. Thanks
>> immensely for the help.
>
>It's not clear from your response but I want to insure that you 
>understand that even though Fx 4 no longer automatically adds the 
>profile Chrome/ folder, you can simply manually add it yourself, place 
>your userChrome.css file in it and Fx 4 will use the style overrides in 
>it just as it has done with previous releases.

Well, I did get it to work but I had to remove a few items in my
userChrome.css that seemed to be overriding #BrowserPreferences
radio[pane="paneSync"] {display: none !important;} so that part is now
good.

However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
visible to users. I used to have those disabled (hidden) in Fx 3.6 so
users wouldn't add bookmarks or muck around with revealing Bookmarks
Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
out on my own but thus far I am clueless.

- Thee Chicago Wolf [MVP]
0
Thee
4/19/2011 6:45:29 PM
Thee Chicago Wolf [MVP] wrote:
>> Thee Chicago Wolf (MVP) wrote:
>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>
>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>
>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>
>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>
>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>
>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>
>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> with:
>>>>>>>>>>>>
>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>>> Good luck!
>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>> Sure thing.
>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>
>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>
>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>> or you may have not entered the override correctly.
>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>
>>>>>> That is not the location where it should reside; rather, it should
>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>> instructions on how to locate it on your system:
>>>>>>
>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>
>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>> Chrome/ folder.
>>>>>>
>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>
>>>>>> Good luck!
>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>> removes the chrome folder. I can manually add one and things work but
>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>> location but to a custom location where the profile cannot be deleted.
>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>> some experimentation with it.
>>>>>
>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>> However, if you create it and put your userChrome.css file in it, the 
>>>> style overrides should work.
>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>> days are gone too. I guess I just have to work around it. Thanks
>>> immensely for the help.
>> It's not clear from your response but I want to insure that you 
>> understand that even though Fx 4 no longer automatically adds the 
>> profile Chrome/ folder, you can simply manually add it yourself, place 
>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>> it just as it has done with previous releases.
> 
> Well, I did get it to work but I had to remove a few items in my
> userChrome.css that seemed to be overriding #BrowserPreferences
> radio[pane="paneSync"] {display: none !important;} so that part is now
> good.
> 
> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
> users wouldn't add bookmarks or muck around with revealing Bookmarks
> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
> out on my own but thus far I am clueless.
> 
Getting used to the Dom Inspector takes a little getting used to. You 
might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
useful?

For now, these style overrides should work:

#bookmarksMenu,
#PersonalToolbar { display:none !important; }

Good luck.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/19/2011 7:09:13 PM
>Thee Chicago Wolf [MVP] wrote:
>>> Thee Chicago Wolf (MVP) wrote:
>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>
>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>
>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>
>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>>> with:
>>>>>>>>>>>>>
>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>> Sure thing.
>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>
>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>
>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>
>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>> instructions on how to locate it on your system:
>>>>>>>
>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>
>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>> Chrome/ folder.
>>>>>>>
>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>
>>>>>>> Good luck!
>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>> some experimentation with it.
>>>>>>
>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>> style overrides should work.
>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>> days are gone too. I guess I just have to work around it. Thanks
>>>> immensely for the help.
>>> It's not clear from your response but I want to insure that you 
>>> understand that even though Fx 4 no longer automatically adds the 
>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>> it just as it has done with previous releases.
>> 
>> Well, I did get it to work but I had to remove a few items in my
>> userChrome.css that seemed to be overriding #BrowserPreferences
>> radio[pane="paneSync"] {display: none !important;} so that part is now
>> good.
>> 
>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>> out on my own but thus far I am clueless.
>> 
>Getting used to the Dom Inspector takes a little getting used to. You 
>might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>useful?
>
>For now, these style overrides should work:
>
>#bookmarksMenu,
>#PersonalToolbar { display:none !important; }
>
>Good luck.

Ok, I installed your Inspector Widget and have dabbled a bit to see if
I could hack around a bit more. I think I just need to practice it a
bit more to learn how to interpret stuff and how to hide / disable
what I want. I found a bunch of id's that I thought were related to
the Bookmarks Toolbar item I was looking to hide but it didn't work:

#MBM_BookmarksToolbar,
#MBM_viewBookmarksToolbar,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderPopup,
#appmenu_bookmarksToolbar,
#appmenu_bookmarksToolbarPopup

#bookmarksMenu did hide the Bookmarks menu item (between History and
Tools) perfectly, thanks. The other I am trying to hide is the
Bookmarks Toolbar context menu item (well, pretty much all except Menu
Bar)  that appears when you right-click the gray area just above the
address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
Bar, Tabs on Tops, and Customize appear when you do it). I'm still
messin' with it and looking at tutorials here and there.

- Thee Chicago Wolf [MVP]
0
Thee
4/19/2011 7:53:31 PM
Thee Chicago Wolf [MVP] wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>
>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>> Sure thing.
>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>
>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>
>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>
>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>
>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>
>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>> Chrome/ folder.
>>>>>>>>
>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>
>>>>>>>> Good luck!
>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>> some experimentation with it.
>>>>>>>
>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>> style overrides should work.
>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>> immensely for the help.
>>>> It's not clear from your response but I want to insure that you 
>>>> understand that even though Fx 4 no longer automatically adds the 
>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>> it just as it has done with previous releases.
>>> Well, I did get it to work but I had to remove a few items in my
>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>> good.
>>>
>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>> out on my own but thus far I am clueless.
>>>
>> Getting used to the Dom Inspector takes a little getting used to. You 
>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>> useful?
>>
>> For now, these style overrides should work:
>>
>> #bookmarksMenu,
>> #PersonalToolbar { display:none !important; }
>>
>> Good luck.
> 
> Ok, I installed your Inspector Widget and have dabbled a bit to see if
> I could hack around a bit more. I think I just need to practice it a
> bit more to learn how to interpret stuff and how to hide / disable
> what I want. I found a bunch of id's that I thought were related to
> the Bookmarks Toolbar item I was looking to hide but it didn't work:
> 
> #MBM_BookmarksToolbar,
> #MBM_viewBookmarksToolbar,
> #bookmarksToolbarFolderMenu,
> #bookmarksToolbarFolderPopup,
> #appmenu_bookmarksToolbar,
> #appmenu_bookmarksToolbarPopup
> 
> #bookmarksMenu did hide the Bookmarks menu item (between History and
> Tools) perfectly, thanks. The other I am trying to hide is the
> Bookmarks Toolbar context menu item (well, pretty much all except Menu
> Bar)  that appears when you right-click the gray area just above the
> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
> messin' with it and looking at tutorials here and there.
> 
Yeah, menu items a more complicated at finding. Anyway, try this:

#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
Hide all menu items except menubar */
#toolbar-context-menu menuseparator /* Hide all menuseparators */
{ display:none !important;}

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/19/2011 8:50:32 PM
>Thee Chicago Wolf [MVP] wrote:
>>> Thee Chicago Wolf [MVP] wrote:
>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>
>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>
>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>
>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>
>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>
>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>> Chrome/ folder.
>>>>>>>>>
>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>
>>>>>>>>> Good luck!
>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>> some experimentation with it.
>>>>>>>>
>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>> style overrides should work.
>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>> immensely for the help.
>>>>> It's not clear from your response but I want to insure that you 
>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>> it just as it has done with previous releases.
>>>> Well, I did get it to work but I had to remove a few items in my
>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>> good.
>>>>
>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>> out on my own but thus far I am clueless.
>>>>
>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>> useful?
>>>
>>> For now, these style overrides should work:
>>>
>>> #bookmarksMenu,
>>> #PersonalToolbar { display:none !important; }
>>>
>>> Good luck.
>> 
>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>> I could hack around a bit more. I think I just need to practice it a
>> bit more to learn how to interpret stuff and how to hide / disable
>> what I want. I found a bunch of id's that I thought were related to
>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>> 
>> #MBM_BookmarksToolbar,
>> #MBM_viewBookmarksToolbar,
>> #bookmarksToolbarFolderMenu,
>> #bookmarksToolbarFolderPopup,
>> #appmenu_bookmarksToolbar,
>> #appmenu_bookmarksToolbarPopup
>> 
>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>> Tools) perfectly, thanks. The other I am trying to hide is the
>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>> Bar)  that appears when you right-click the gray area just above the
>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>> messin' with it and looking at tutorials here and there.
>> 
>Yeah, menu items a more complicated at finding. Anyway, try this:
>
>#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>Hide all menu items except menubar */
>#toolbar-context-menu menuseparator /* Hide all menuseparators */
>{ display:none !important;}

Ok, individually, those two work perfect. However, when combined with
the other stuff I already have in userChrome.css, something seems to
override it. I'll mess around with it and see what's gumming it up for
me. Thanks kindly for your patience and help. Where can I send the
fancy bottle of booze?

- Thee Chicago Wolf [MVP]
0
Thee
4/19/2011 9:07:55 PM
On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>Thee Chicago Wolf [MVP] wrote:
>>> Thee Chicago Wolf [MVP] wrote:
>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>
>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>
>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>
>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>
>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>
>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>
>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>> Chrome/ folder.
>>>>>>>>>
>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>
>>>>>>>>> Good luck!
>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>> some experimentation with it.
>>>>>>>>
>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>> style overrides should work.
>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>> immensely for the help.
>>>>> It's not clear from your response but I want to insure that you 
>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>> it just as it has done with previous releases.
>>>> Well, I did get it to work but I had to remove a few items in my
>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>> good.
>>>>
>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>> out on my own but thus far I am clueless.
>>>>
>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>> useful?
>>>
>>> For now, these style overrides should work:
>>>
>>> #bookmarksMenu,
>>> #PersonalToolbar { display:none !important; }
>>>
>>> Good luck.
>> 
>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>> I could hack around a bit more. I think I just need to practice it a
>> bit more to learn how to interpret stuff and how to hide / disable
>> what I want. I found a bunch of id's that I thought were related to
>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>> 
>> #MBM_BookmarksToolbar,
>> #MBM_viewBookmarksToolbar,
>> #bookmarksToolbarFolderMenu,
>> #bookmarksToolbarFolderPopup,
>> #appmenu_bookmarksToolbar,
>> #appmenu_bookmarksToolbarPopup
>> 
>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>> Tools) perfectly, thanks. The other I am trying to hide is the
>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>> Bar)  that appears when you right-click the gray area just above the
>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>> messin' with it and looking at tutorials here and there.
>> 
>Yeah, menu items a more complicated at finding. Anyway, try this:
>
>#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>Hide all menu items except menubar */
>#toolbar-context-menu menuseparator /* Hide all menuseparators */
>{ display:none !important;}

Well, as luck would have it, removing #BrowserPreferences
radio[label="Sync"] {display: none! important;} makes everything else
but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
there an entry that just removes "Bookmarks Toolbar" from that context
menu that I could try? I could live with the other being there but
dammit, I'm gonna exhaust every option (and probably you too!).
Cheers.

- Thee Chicago Wolf [MVP]
0
Thee
4/19/2011 9:13:34 PM
Thee Chicago Wolf [MVP] on 4/19/2011 5:13 PM, keyboarded a reply:
> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>
>> Thee Chicago Wolf [MVP] wrote:
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>>>>>>>
>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>     wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>       Options>       Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>> Options>      Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>
>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>
>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>
>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>
>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>
>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>
>>>>>>>>>> Good luck!
>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>> some experimentation with it.
>>>>>>>>>
>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder.
>>>>>>>> However, if you create it and put your userChrome.css file in it, the
>>>>>>>> style overrides should work.
>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>> immensely for the help.
>>>>>> It's not clear from your response but I want to insure that you
>>>>>> understand that even though Fx 4 no longer automatically adds the
>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place
>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in
>>>>>> it just as it has done with previous releases.
>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>> good.
>>>>>
>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>> out on my own but thus far I am clueless.
>>>>>
>>>> Getting used to the Dom Inspector takes a little getting used to. You
>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94
>>>> useful?
>>>>
>>>> For now, these style overrides should work:
>>>>
>>>> #bookmarksMenu,
>>>> #PersonalToolbar { display:none !important; }
>>>>
>>>> Good luck.
>>>
>>>[snip]
>>>
>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>
>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /*
>> Hide all menu items except menubar */
>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>> { display:none !important;}
>
> Well, as luck would have it, removing #BrowserPreferences
> radio[label="Sync"] {display: none! important;} makes everything else
> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
> there an entry that just removes "Bookmarks Toolbar" from that context
> menu that I could try? I could live with the other being there but
> dammit, I'm gonna exhaust every option (and probably you too!).
> Cheers.
>
> - Thee Chicago Wolf [MVP]


Because CSS is Cascading, the order of rules is important. In principal, 
rules are arranged from the Global to the specific to reduce instances of 
undesired results.

-- 
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!
0
Ron
4/19/2011 9:59:44 PM
Thee Chicago Wolf [MVP] wrote:
> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
> 
>> Thee Chicago Wolf [MVP] wrote:
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>
>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>
>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>
>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>
>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>
>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>
>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>
>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>
>>>>>>>>>> Good luck!
>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>> some experimentation with it.
>>>>>>>>>
>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>> style overrides should work.
>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>> immensely for the help.
>>>>>> It's not clear from your response but I want to insure that you 
>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>> it just as it has done with previous releases.
>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>> good.
>>>>>
>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>> out on my own but thus far I am clueless.
>>>>>
>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>> useful?
>>>>
>>>> For now, these style overrides should work:
>>>>
>>>> #bookmarksMenu,
>>>> #PersonalToolbar { display:none !important; }
>>>>
>>>> Good luck.
>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>> I could hack around a bit more. I think I just need to practice it a
>>> bit more to learn how to interpret stuff and how to hide / disable
>>> what I want. I found a bunch of id's that I thought were related to
>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>
>>> #MBM_BookmarksToolbar,
>>> #MBM_viewBookmarksToolbar,
>>> #bookmarksToolbarFolderMenu,
>>> #bookmarksToolbarFolderPopup,
>>> #appmenu_bookmarksToolbar,
>>> #appmenu_bookmarksToolbarPopup
>>>
>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>> Bar)  that appears when you right-click the gray area just above the
>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>> messin' with it and looking at tutorials here and there.
>>>
>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>
>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>> Hide all menu items except menubar */
>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>> { display:none !important;}
> 
> Well, as luck would have it, removing #BrowserPreferences
> radio[label="Sync"] {display: none! important;} makes everything else
> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
> there an entry that just removes "Bookmarks Toolbar" from that context
> menu that I could try? I could live with the other being there but
> dammit, I'm gonna exhaust every option (and probably you too!).
> Cheers.
> 
That "#BrowserPreferences ..." override came from somewhere else. The 
one I gave you before was:

#BrowserPreferences radio[pane="paneSync"] { display: none !important; }

I've tried using this one and the ones above together and they seem to 
work fine.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/19/2011 11:45:16 PM
Sailfish wrote:
> Thee Chicago Wolf [MVP] wrote:
>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>
>>> Thee Chicago Wolf [MVP] wrote:
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>
>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will 
>>>>>>>>>>>>>>>>>> see it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync) 
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into 
>>>>>>>>>>>>>>>>>> userChrome.css. However,
>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still 
>>>>>>>>>>>>>>>>>> see that "Set
>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. 
>>>>>>>>>>>>>>>>>> Basically, it doesn't
>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I 
>>>>>>>>>>>>>>>>>> still see the Set
>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], 
>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, 
>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences 
>>>>>>>>>>>>>>>>>> radio[label="Sync"]
>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none 
>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none 
>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>     #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: 
>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button 
>>>>>>>>>>>>>> under Tools>
>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the 
>>>>>>>>>>>>>> suggestion. By the way,
>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both 
>>>>>>>>>>>>> Chrome and
>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of 
>>>>>>>>>>>>> the Option
>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>
>>>>>>>>>>>>> btw, I tested the override above on my system to insure 
>>>>>>>>>>>>> that it hid the
>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your 
>>>>>>>>>>>>> system, that may
>>>>>>>>>>>>> indicate that you're either not adding the override in the 
>>>>>>>>>>>>> correct
>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the 
>>>>>>>>>>>>> one I gave you
>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in 
>>>>>>>>>>>> C:\Program
>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. 
>>>>>>>>>>>> It is
>>>>>>>>>>>> hiding the other things as usual. Where else could a 
>>>>>>>>>>>> userChrome.css be
>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and 
>>>>>>>>>>>> no other
>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. 
>>>>>>>>>>>> I'll simply
>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>
>>>>>>>>>>> That is not the location where it should reside; rather, it 
>>>>>>>>>>> should
>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link 
>>>>>>>>>>> below gives you
>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>
>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>
>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ 
>>>>>>>>>>> folder. You
>>>>>>>>>>> should be able to Cut your existing userChrome.css file from 
>>>>>>>>>>> your
>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your 
>>>>>>>>>>> open profile
>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>
>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>
>>>>>>>>>>> Good luck!
>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome 
>>>>>>>>>> folder
>>>>>>>>>> in the profile folder. It shouldn't make a difference but this 
>>>>>>>>>> was a
>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>> removes the chrome folder. I can manually add one and things 
>>>>>>>>>> work but
>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the 
>>>>>>>>>> usual
>>>>>>>>>> location but to a custom location where the profile cannot be 
>>>>>>>>>> deleted.
>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, 
>>>>>>>>>> I'll do
>>>>>>>>>> some experimentation with it.
>>>>>>>>>>
>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ 
>>>>>>>>> folder. However, if you create it and put your userChrome.css 
>>>>>>>>> file in it, the style overrides should work.
>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>> immensely for the help.
>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, 
>>>>>>> place your userChrome.css file in it and Fx 4 will use the style 
>>>>>>> overrides in it just as it has done with previous releases.
>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is 
>>>>>> now
>>>>>> good.
>>>>>>
>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>> out on my own but thus far I am clueless.
>>>>>>
>>>>> Getting used to the Dom Inspector takes a little getting used to. 
>>>>> You might find my complementary add-on, InspectorWidget 
>>>>> http://bit.ly/fQWA94 useful?
>>>>>
>>>>> For now, these style overrides should work:
>>>>>
>>>>> #bookmarksMenu,
>>>>> #PersonalToolbar { display:none !important; }
>>>>>
>>>>> Good luck.
>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>> I could hack around a bit more. I think I just need to practice it a
>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>> what I want. I found a bunch of id's that I thought were related to
>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>
>>>> #MBM_BookmarksToolbar,
>>>> #MBM_viewBookmarksToolbar,
>>>> #bookmarksToolbarFolderMenu,
>>>> #bookmarksToolbarFolderPopup,
>>>> #appmenu_bookmarksToolbar,
>>>> #appmenu_bookmarksToolbarPopup
>>>>
>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>> Bar)  that appears when you right-click the gray area just above the
>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>> messin' with it and looking at tutorials here and there.
>>>>
>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>
>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>> Hide all menu items except menubar */
>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>> { display:none !important;}
>>
>> Well, as luck would have it, removing #BrowserPreferences
>> radio[label="Sync"] {display: none! important;} makes everything else
>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>> there an entry that just removes "Bookmarks Toolbar" from that context
>> menu that I could try? I could live with the other being there but
>> dammit, I'm gonna exhaust every option (and probably you too!).
>> Cheers.
>>
> That "#BrowserPreferences ..." override came from somewhere else. The 
> one I gave you before was:
> 
> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
> 
> I've tried using this one and the ones above together and they seem to 
> work fine.
> 
On a side note, depending on how cautious you want to be, there still is 
another hole that you may want to cover up. Specifically, selecting 
"Help>Troubleshooting Information" will bring up the "about:support" 
page. Then under Application Basics there's a button next to the 
"Profile Directory" that will bring up the browser's userChrome.css file 
in a text editor. An enterprising hacker could simply do a "Select All", 
then Backspace, then Save, then Ctrl+Alt+R and, Voila!, all your work 
has been voided.

There are a couple of ways you could get around this. The easiest would 
be to write-protect the profile chrome/ folder and the files within it 
with Admin permissions.

A less secure method would be to add another style override to your 
userChrome.css file and one to your userContent.css (may need to be 
created) file as follows:

userChrome.css Style Override:

menuitem#troubleShooting { display: none !important; } /* Removes Help 
Troubleshooting menu option */

userContent.css Style Override:

div#contents button { display: none !important; } /* Removes "Open 
Containing Folder" button from about:support page */

Lastly, I should mention that there a innumerable ways an enterprising 
individual may find to circumvent your overrides, these are really meant 
to provide the less-enterprising ones :)

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 1:17:30 AM
Sailfish wrote:
> Sailfish wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else 
>>>>>>>>>>>>>>>>>>> will see it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync) 
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into 
>>>>>>>>>>>>>>>>>>> userChrome.css. However,
>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I 
>>>>>>>>>>>>>>>>>>> still see that "Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      
>>>>>>>>>>>>>>>>>>> Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I 
>>>>>>>>>>>>>>>>>>> still see the Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], 
>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, 
>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences 
>>>>>>>>>>>>>>>>>>> radio[label="Sync"]
>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none 
>>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>     #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: 
>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button 
>>>>>>>>>>>>>>> under Tools>
>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the 
>>>>>>>>>>>>>>> suggestion. By the way,
>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both 
>>>>>>>>>>>>>> Chrome and
>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of 
>>>>>>>>>>>>>> the Option
>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> btw, I tested the override above on my system to insure 
>>>>>>>>>>>>>> that it hid the
>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your 
>>>>>>>>>>>>>> system, that may
>>>>>>>>>>>>>> indicate that you're either not adding the override in the 
>>>>>>>>>>>>>> correct
>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the 
>>>>>>>>>>>>>> one I gave you
>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in 
>>>>>>>>>>>>> C:\Program
>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. 
>>>>>>>>>>>>> It is
>>>>>>>>>>>>> hiding the other things as usual. Where else could a 
>>>>>>>>>>>>> userChrome.css be
>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) 
>>>>>>>>>>>>> and no other
>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. 
>>>>>>>>>>>>> I'll simply
>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>
>>>>>>>>>>>> That is not the location where it should reside; rather, it 
>>>>>>>>>>>> should
>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link 
>>>>>>>>>>>> below gives you
>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>
>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>
>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ 
>>>>>>>>>>>> folder. You
>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from 
>>>>>>>>>>>> your
>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your 
>>>>>>>>>>>> open profile
>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>
>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>
>>>>>>>>>>>> Good luck!
>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome 
>>>>>>>>>>> folder
>>>>>>>>>>> in the profile folder. It shouldn't make a difference but 
>>>>>>>>>>> this was a
>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever 
>>>>>>>>>>> reason, it
>>>>>>>>>>> removes the chrome folder. I can manually add one and things 
>>>>>>>>>>> work but
>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the 
>>>>>>>>>>> usual
>>>>>>>>>>> location but to a custom location where the profile cannot be 
>>>>>>>>>>> deleted.
>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, 
>>>>>>>>>>> I'll do
>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>
>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ 
>>>>>>>>>> folder. However, if you create it and put your userChrome.css 
>>>>>>>>>> file in it, the style overrides should work.
>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 
>>>>>>>>> 3.6.x
>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>> immensely for the help.
>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>> understand that even though Fx 4 no longer automatically adds 
>>>>>>>> the profile Chrome/ folder, you can simply manually add it 
>>>>>>>> yourself, place your userChrome.css file in it and Fx 4 will use 
>>>>>>>> the style overrides in it just as it has done with previous 
>>>>>>>> releases.
>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part 
>>>>>>> is now
>>>>>>> good.
>>>>>>>
>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 
>>>>>>> 3.6 so
>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>> out on my own but thus far I am clueless.
>>>>>>>
>>>>>> Getting used to the Dom Inspector takes a little getting used to. 
>>>>>> You might find my complementary add-on, InspectorWidget 
>>>>>> http://bit.ly/fQWA94 useful?
>>>>>>
>>>>>> For now, these style overrides should work:
>>>>>>
>>>>>> #bookmarksMenu,
>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>
>>>>>> Good luck.
>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>
>>>>> #MBM_BookmarksToolbar,
>>>>> #MBM_viewBookmarksToolbar,
>>>>> #bookmarksToolbarFolderMenu,
>>>>> #bookmarksToolbarFolderPopup,
>>>>> #appmenu_bookmarksToolbar,
>>>>> #appmenu_bookmarksToolbarPopup
>>>>>
>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>> messin' with it and looking at tutorials here and there.
>>>>>
>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>
>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), 
>>>> /* Hide all menu items except menubar */
>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>> { display:none !important;}
>>>
>>> Well, as luck would have it, removing #BrowserPreferences
>>> radio[label="Sync"] {display: none! important;} makes everything else
>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>> menu that I could try? I could live with the other being there but
>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>> Cheers.
>>>
>> That "#BrowserPreferences ..." override came from somewhere else. The 
>> one I gave you before was:
>>
>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>
>> I've tried using this one and the ones above together and they seem to 
>> work fine.
>>
> On a side note, depending on how cautious you want to be, there still is 
> another hole that you may want to cover up. Specifically, selecting 
> "Help>Troubleshooting Information" will bring up the "about:support" 
> page. Then under Application Basics there's a button next to the 
> "Profile Directory" that will bring up the browser's userChrome.css file 
> in a text editor. An enterprising hacker could simply do a "Select All", 
> then Backspace, then Save, then Ctrl+Alt+R and, Voila!, all your work 
> has been voided.
> 
> There are a couple of ways you could get around this. The easiest would 
> be to write-protect the profile chrome/ folder and the files within it 
> with Admin permissions.
> 
> A less secure method would be to add another style override to your 
> userChrome.css file and one to your userContent.css (may need to be 
> created) file as follows:
> 
> userChrome.css Style Override:
> 
> menuitem#troubleShooting { display: none !important; } /* Removes Help 
> Troubleshooting menu option */
> 
> userContent.css Style Override:
> 
> div#contents button { display: none !important; } /* Removes "Open 
> Containing Folder" button from about:support page */
> 
> Lastly, I should mention that there a innumerable ways an enterprising 
> individual may find to circumvent your overrides, these are really meant 
> to provide the less-enterprising ones :)
> 
Rewritten so as to make sense:

Lastly, I should mention that there are innumerable ways an enterprising 
individual may find to circumvent your overrides, these are really meant 
to prevent the less-enterprising ones.


-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 1:49:05 AM
>Thee Chicago Wolf [MVP] wrote:
>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>> 
>>> Thee Chicago Wolf [MVP] wrote:
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>
>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>
>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>
>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>
>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>
>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>
>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>
>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>
>>>>>>>>>>> Good luck!
>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>> some experimentation with it.
>>>>>>>>>>
>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>> style overrides should work.
>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>> immensely for the help.
>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>> it just as it has done with previous releases.
>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>> good.
>>>>>>
>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>> out on my own but thus far I am clueless.
>>>>>>
>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>> useful?
>>>>>
>>>>> For now, these style overrides should work:
>>>>>
>>>>> #bookmarksMenu,
>>>>> #PersonalToolbar { display:none !important; }
>>>>>
>>>>> Good luck.
>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>> I could hack around a bit more. I think I just need to practice it a
>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>> what I want. I found a bunch of id's that I thought were related to
>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>
>>>> #MBM_BookmarksToolbar,
>>>> #MBM_viewBookmarksToolbar,
>>>> #bookmarksToolbarFolderMenu,
>>>> #bookmarksToolbarFolderPopup,
>>>> #appmenu_bookmarksToolbar,
>>>> #appmenu_bookmarksToolbarPopup
>>>>
>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>> Bar)  that appears when you right-click the gray area just above the
>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>> messin' with it and looking at tutorials here and there.
>>>>
>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>
>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>> Hide all menu items except menubar */
>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>> { display:none !important;}
>> 
>> Well, as luck would have it, removing #BrowserPreferences
>> radio[label="Sync"] {display: none! important;} makes everything else
>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>> there an entry that just removes "Bookmarks Toolbar" from that context
>> menu that I could try? I could live with the other being there but
>> dammit, I'm gonna exhaust every option (and probably you too!).
>> Cheers.
>> 
>That "#BrowserPreferences ..." override came from somewhere else. The 
>one I gave you before was:
>
>#BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>
>I've tried using this one and the ones above together and they seem to 
>work fine.

Ron K pointed out that it might be related to the order. I'm going to
do some re-arranging to put the global stuff first and less specific
stuff last. I didn't realize that might have been the case.

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 2:14:08 PM
>Sailfish wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will 
>>>>>>>>>>>>>>>>>>> see it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync) 
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into 
>>>>>>>>>>>>>>>>>>> userChrome.css. However,
>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still 
>>>>>>>>>>>>>>>>>>> see that "Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. 
>>>>>>>>>>>>>>>>>>> Basically, it doesn't
>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I 
>>>>>>>>>>>>>>>>>>> still see the Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], 
>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, 
>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences 
>>>>>>>>>>>>>>>>>>> radio[label="Sync"]
>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none 
>>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none 
>>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>     #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: 
>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button 
>>>>>>>>>>>>>>> under Tools>
>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the 
>>>>>>>>>>>>>>> suggestion. By the way,
>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both 
>>>>>>>>>>>>>> Chrome and
>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of 
>>>>>>>>>>>>>> the Option
>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> btw, I tested the override above on my system to insure 
>>>>>>>>>>>>>> that it hid the
>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your 
>>>>>>>>>>>>>> system, that may
>>>>>>>>>>>>>> indicate that you're either not adding the override in the 
>>>>>>>>>>>>>> correct
>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the 
>>>>>>>>>>>>>> one I gave you
>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in 
>>>>>>>>>>>>> C:\Program
>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. 
>>>>>>>>>>>>> It is
>>>>>>>>>>>>> hiding the other things as usual. Where else could a 
>>>>>>>>>>>>> userChrome.css be
>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and 
>>>>>>>>>>>>> no other
>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. 
>>>>>>>>>>>>> I'll simply
>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>
>>>>>>>>>>>> That is not the location where it should reside; rather, it 
>>>>>>>>>>>> should
>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link 
>>>>>>>>>>>> below gives you
>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>
>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>
>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ 
>>>>>>>>>>>> folder. You
>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from 
>>>>>>>>>>>> your
>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your 
>>>>>>>>>>>> open profile
>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>
>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>
>>>>>>>>>>>> Good luck!
>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome 
>>>>>>>>>>> folder
>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this 
>>>>>>>>>>> was a
>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>> removes the chrome folder. I can manually add one and things 
>>>>>>>>>>> work but
>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the 
>>>>>>>>>>> usual
>>>>>>>>>>> location but to a custom location where the profile cannot be 
>>>>>>>>>>> deleted.
>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, 
>>>>>>>>>>> I'll do
>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>
>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ 
>>>>>>>>>> folder. However, if you create it and put your userChrome.css 
>>>>>>>>>> file in it, the style overrides should work.
>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>> immensely for the help.
>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, 
>>>>>>>> place your userChrome.css file in it and Fx 4 will use the style 
>>>>>>>> overrides in it just as it has done with previous releases.
>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is 
>>>>>>> now
>>>>>>> good.
>>>>>>>
>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>> out on my own but thus far I am clueless.
>>>>>>>
>>>>>> Getting used to the Dom Inspector takes a little getting used to. 
>>>>>> You might find my complementary add-on, InspectorWidget 
>>>>>> http://bit.ly/fQWA94 useful?
>>>>>>
>>>>>> For now, these style overrides should work:
>>>>>>
>>>>>> #bookmarksMenu,
>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>
>>>>>> Good luck.
>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>
>>>>> #MBM_BookmarksToolbar,
>>>>> #MBM_viewBookmarksToolbar,
>>>>> #bookmarksToolbarFolderMenu,
>>>>> #bookmarksToolbarFolderPopup,
>>>>> #appmenu_bookmarksToolbar,
>>>>> #appmenu_bookmarksToolbarPopup
>>>>>
>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>> messin' with it and looking at tutorials here and there.
>>>>>
>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>
>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>> Hide all menu items except menubar */
>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>> { display:none !important;}
>>>
>>> Well, as luck would have it, removing #BrowserPreferences
>>> radio[label="Sync"] {display: none! important;} makes everything else
>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>> menu that I could try? I could live with the other being there but
>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>> Cheers.
>>>
>> That "#BrowserPreferences ..." override came from somewhere else. The 
>> one I gave you before was:
>> 
>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>> 
>> I've tried using this one and the ones above together and they seem to 
>> work fine.
>> 
>On a side note, depending on how cautious you want to be, there still is 
>another hole that you may want to cover up. Specifically, selecting 
>"Help>Troubleshooting Information" will bring up the "about:support" 
>page. Then under Application Basics there's a button next to the 
>"Profile Directory" that will bring up the browser's userChrome.css file 
>in a text editor. An enterprising hacker could simply do a "Select All", 
>then Backspace, then Save, then Ctrl+Alt+R and, Voila!, all your work 
>has been voided.
>
>There are a couple of ways you could get around this. The easiest would 
>be to write-protect the profile chrome/ folder and the files within it 
>with Admin permissions.
>
>A less secure method would be to add another style override to your 
>userChrome.css file and one to your userContent.css (may need to be 
>created) file as follows:
>
>userChrome.css Style Override:
>
>menuitem#troubleShooting { display: none !important; } /* Removes Help 
>Troubleshooting menu option */
>
>userContent.css Style Override:
>
>div#contents button { display: none !important; } /* Removes "Open 
>Containing Folder" button from about:support page */
>
>Lastly, I should mention that there a innumerable ways an enterprising 
>individual may find to circumvent your overrides, these are really meant 
>to provide the less-enterprising ones :)

The location of the chrome folder is read only so no fun for the elite
h4><or.

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 2:14:55 PM
>Sailfish wrote:
>> Sailfish wrote:
>>> Thee Chicago Wolf [MVP] wrote:
>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else 
>>>>>>>>>>>>>>>>>>>> will see it.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync) 
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into 
>>>>>>>>>>>>>>>>>>>> userChrome.css. However,
>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I 
>>>>>>>>>>>>>>>>>>>> still see that "Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      
>>>>>>>>>>>>>>>>>>>> Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I 
>>>>>>>>>>>>>>>>>>>> still see the Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], 
>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, 
>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences 
>>>>>>>>>>>>>>>>>>>> radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none 
>>>>>>>>>>>>>>>>>>>> !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>     #BrowserPreferences radio[label="Sync"] {display: 
>>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: 
>>>>>>>>>>>>>>>>>>> none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button 
>>>>>>>>>>>>>>>> under Tools>
>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the 
>>>>>>>>>>>>>>>> suggestion. By the way,
>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both 
>>>>>>>>>>>>>>> Chrome and
>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of 
>>>>>>>>>>>>>>> the Option
>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure 
>>>>>>>>>>>>>>> that it hid the
>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your 
>>>>>>>>>>>>>>> system, that may
>>>>>>>>>>>>>>> indicate that you're either not adding the override in the 
>>>>>>>>>>>>>>> correct
>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the 
>>>>>>>>>>>>>>> one I gave you
>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in 
>>>>>>>>>>>>>> C:\Program
>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. 
>>>>>>>>>>>>>> It is
>>>>>>>>>>>>>> hiding the other things as usual. Where else could a 
>>>>>>>>>>>>>> userChrome.css be
>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) 
>>>>>>>>>>>>>> and no other
>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. 
>>>>>>>>>>>>>> I'll simply
>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>
>>>>>>>>>>>>> That is not the location where it should reside; rather, it 
>>>>>>>>>>>>> should
>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link 
>>>>>>>>>>>>> below gives you
>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>
>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ 
>>>>>>>>>>>>> folder. You
>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from 
>>>>>>>>>>>>> your
>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your 
>>>>>>>>>>>>> open profile
>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome 
>>>>>>>>>>>> folder
>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but 
>>>>>>>>>>>> this was a
>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever 
>>>>>>>>>>>> reason, it
>>>>>>>>>>>> removes the chrome folder. I can manually add one and things 
>>>>>>>>>>>> work but
>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the 
>>>>>>>>>>>> usual
>>>>>>>>>>>> location but to a custom location where the profile cannot be 
>>>>>>>>>>>> deleted.
>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, 
>>>>>>>>>>>> I'll do
>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>
>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ 
>>>>>>>>>>> folder. However, if you create it and put your userChrome.css 
>>>>>>>>>>> file in it, the style overrides should work.
>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 
>>>>>>>>>> 3.6.x
>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>> immensely for the help.
>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>> understand that even though Fx 4 no longer automatically adds 
>>>>>>>>> the profile Chrome/ folder, you can simply manually add it 
>>>>>>>>> yourself, place your userChrome.css file in it and Fx 4 will use 
>>>>>>>>> the style overrides in it just as it has done with previous 
>>>>>>>>> releases.
>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part 
>>>>>>>> is now
>>>>>>>> good.
>>>>>>>>
>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 
>>>>>>>> 3.6 so
>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>
>>>>>>> Getting used to the Dom Inspector takes a little getting used to. 
>>>>>>> You might find my complementary add-on, InspectorWidget 
>>>>>>> http://bit.ly/fQWA94 useful?
>>>>>>>
>>>>>>> For now, these style overrides should work:
>>>>>>>
>>>>>>> #bookmarksMenu,
>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>
>>>>>>> Good luck.
>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>
>>>>>> #MBM_BookmarksToolbar,
>>>>>> #MBM_viewBookmarksToolbar,
>>>>>> #bookmarksToolbarFolderMenu,
>>>>>> #bookmarksToolbarFolderPopup,
>>>>>> #appmenu_bookmarksToolbar,
>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>
>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>
>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>
>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), 
>>>>> /* Hide all menu items except menubar */
>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>> { display:none !important;}
>>>>
>>>> Well, as luck would have it, removing #BrowserPreferences
>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>> menu that I could try? I could live with the other being there but
>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>> Cheers.
>>>>
>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>> one I gave you before was:
>>>
>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>
>>> I've tried using this one and the ones above together and they seem to 
>>> work fine.
>>>
>> On a side note, depending on how cautious you want to be, there still is 
>> another hole that you may want to cover up. Specifically, selecting 
>> "Help>Troubleshooting Information" will bring up the "about:support" 
>> page. Then under Application Basics there's a button next to the 
>> "Profile Directory" that will bring up the browser's userChrome.css file 
>> in a text editor. An enterprising hacker could simply do a "Select All", 
>> then Backspace, then Save, then Ctrl+Alt+R and, Voila!, all your work 
>> has been voided.
>> 
>> There are a couple of ways you could get around this. The easiest would 
>> be to write-protect the profile chrome/ folder and the files within it 
>> with Admin permissions.
>> 
>> A less secure method would be to add another style override to your 
>> userChrome.css file and one to your userContent.css (may need to be 
>> created) file as follows:
>> 
>> userChrome.css Style Override:
>> 
>> menuitem#troubleShooting { display: none !important; } /* Removes Help 
>> Troubleshooting menu option */
>> 
>> userContent.css Style Override:
>> 
>> div#contents button { display: none !important; } /* Removes "Open 
>> Containing Folder" button from about:support page */
>> 
>> Lastly, I should mention that there a innumerable ways an enterprising 
>> individual may find to circumvent your overrides, these are really meant 
>> to provide the less-enterprising ones :)
>> 
>Rewritten so as to make sense:
>
>Lastly, I should mention that there are innumerable ways an enterprising 
>individual may find to circumvent your overrides, these are really meant 
>to prevent the less-enterprising ones.

Of course. Nothing like a live CD / flash drive Linux distro to mount
the NTFS drive and delete the files. But that's what images and
boot-locking CD-Rom and USB are for! ^-^

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 2:16:52 PM
Thee Chicago Wolf [MVP] on 4/20/2011 10:14 AM, keyboarded a reply:
>> Thee Chicago Wolf [MVP] wrote:
>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>     wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>       Options>       Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>

>>> Well, as luck would have it, removing #BrowserPreferences
>>> radio[label="Sync"] {display: none! important;} makes everything else
>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>> menu that I could try? I could live with the other being there but
>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>> Cheers.
>>>
>> That "#BrowserPreferences ..." override came from somewhere else. The
>> one I gave you before was:
>>
>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>
>> I've tried using this one and the ones above together and they seem to
>> work fine.
>
> Ron K pointed out that it might be related to the order. I'm going to
> do some re-arranging to put the global stuff first and less specific
> stuff last. I didn't realize that might have been the case.
>
> - Thee Chicago Wolf [MVP]

A clarification of my comment on ordering.  CSS works much like outlining 
of a document. Where each level of sub-rules applies only to that 
sub-section, by becoming more specific and can over ride rules from the 
parent containing rule set.

-- 
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!
0
Ron
4/20/2011 2:58:30 PM
Thee Chicago Wolf [MVP] wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>
>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>
>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>
>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>
>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>
>>>>>>>>>>>> Good luck!
>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>
>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>> style overrides should work.
>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>> immensely for the help.
>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>> it just as it has done with previous releases.
>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>> good.
>>>>>>>
>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>> out on my own but thus far I am clueless.
>>>>>>>
>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>> useful?
>>>>>>
>>>>>> For now, these style overrides should work:
>>>>>>
>>>>>> #bookmarksMenu,
>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>
>>>>>> Good luck.
>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>
>>>>> #MBM_BookmarksToolbar,
>>>>> #MBM_viewBookmarksToolbar,
>>>>> #bookmarksToolbarFolderMenu,
>>>>> #bookmarksToolbarFolderPopup,
>>>>> #appmenu_bookmarksToolbar,
>>>>> #appmenu_bookmarksToolbarPopup
>>>>>
>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>> messin' with it and looking at tutorials here and there.
>>>>>
>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>
>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>> Hide all menu items except menubar */
>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>> { display:none !important;}
>>> Well, as luck would have it, removing #BrowserPreferences
>>> radio[label="Sync"] {display: none! important;} makes everything else
>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>> menu that I could try? I could live with the other being there but
>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>> Cheers.
>>>
>> That "#BrowserPreferences ..." override came from somewhere else. The 
>> one I gave you before was:
>>
>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>
>> I've tried using this one and the ones above together and they seem to 
>> work fine.
> 
> Ron K pointed out that it might be related to the order. I'm going to
> do some re-arranging to put the global stuff first and less specific
> stuff last. I didn't realize that might have been the case.
> 
That is true for anything else you may have in your userChrome.css file 
and, possibly, some other non-default theme or add-on. The easiest way 
to test this possibility would be to create a userChrome.css file with 
just these overrides. Then, if that still doesn't work, try it on the 
default them and lastly, try it by disabling add-ons (Note: don't use 
"Help>Restart with addons disabled" option since that also disables 
userChrome.css overrides.)

Good luck.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 3:06:22 PM
>Thee Chicago Wolf [MVP] on 4/20/2011 10:14 AM, keyboarded a reply:
>>> Thee Chicago Wolf [MVP] wrote:
>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>   wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>     wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>       Options>       Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>
>
>>>> Well, as luck would have it, removing #BrowserPreferences
>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>> menu that I could try? I could live with the other being there but
>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>> Cheers.
>>>>
>>> That "#BrowserPreferences ..." override came from somewhere else. The
>>> one I gave you before was:
>>>
>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>
>>> I've tried using this one and the ones above together and they seem to
>>> work fine.
>>
>> Ron K pointed out that it might be related to the order. I'm going to
>> do some re-arranging to put the global stuff first and less specific
>> stuff last. I didn't realize that might have been the case.
>>
>> - Thee Chicago Wolf [MVP]
>
>A clarification of my comment on ordering.  CSS works much like outlining 
>of a document. Where each level of sub-rules applies only to that 
>sub-section, by becoming more specific and can over ride rules from the 
>parent containing rule set.

yes and it appears this is exactly what I am seeing. In my case, a
more granular setting negates another setting. After rearranging some
item in a different order, I'm 95% where I want to be but far better
off than where I started. Thanks for pointing this out Ron!

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 3:13:18 PM
On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>Thee Chicago Wolf [MVP] wrote:
>>> Thee Chicago Wolf [MVP] wrote:
>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>
>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>
>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>
>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>> style overrides should work.
>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>> immensely for the help.
>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>> it just as it has done with previous releases.
>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>> good.
>>>>>>>>
>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>
>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>> useful?
>>>>>>>
>>>>>>> For now, these style overrides should work:
>>>>>>>
>>>>>>> #bookmarksMenu,
>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>
>>>>>>> Good luck.
>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>
>>>>>> #MBM_BookmarksToolbar,
>>>>>> #MBM_viewBookmarksToolbar,
>>>>>> #bookmarksToolbarFolderMenu,
>>>>>> #bookmarksToolbarFolderPopup,
>>>>>> #appmenu_bookmarksToolbar,
>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>
>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>
>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>
>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>> Hide all menu items except menubar */
>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>> { display:none !important;}
>>>> Well, as luck would have it, removing #BrowserPreferences
>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>> menu that I could try? I could live with the other being there but
>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>> Cheers.
>>>>
>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>> one I gave you before was:
>>>
>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>
>>> I've tried using this one and the ones above together and they seem to 
>>> work fine.
>> 
>> Ron K pointed out that it might be related to the order. I'm going to
>> do some re-arranging to put the global stuff first and less specific
>> stuff last. I didn't realize that might have been the case.
>> 
>That is true for anything else you may have in your userChrome.css file 
>and, possibly, some other non-default theme or add-on. The easiest way 
>to test this possibility would be to create a userChrome.css file with 
>just these overrides. Then, if that still doesn't work, try it on the 
>default them and lastly, try it by disabling add-ons (Note: don't use 
>"Help>Restart with addons disabled" option since that also disables 
>userChrome.css overrides.)
>
>Good luck.

Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
want to be. Sadly, some options like turning off Troubleshooting and
Open Containing folder cause Sync to appear. So one thing gets hidden
but the formerly hidden thing appears. In any case, I think I'll be
good with what I have now. I've been running Firefox for years with a
kiosked cfg file and userChrome and no one's screwed up an install
yet. Thanks immensely! It's been quite a learning experience.

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 3:16:55 PM
Thee Chicago Wolf [MVP] wrote:
> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
> 
>> Thee Chicago Wolf [MVP] wrote:
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>
>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>> immensely for the help.
>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>> good.
>>>>>>>>>
>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>
>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>> useful?
>>>>>>>>
>>>>>>>> For now, these style overrides should work:
>>>>>>>>
>>>>>>>> #bookmarksMenu,
>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>
>>>>>>>> Good luck.
>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>
>>>>>>> #MBM_BookmarksToolbar,
>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>
>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>
>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>
>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>> Hide all menu items except menubar */
>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>> { display:none !important;}
>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>> menu that I could try? I could live with the other being there but
>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>> Cheers.
>>>>>
>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>> one I gave you before was:
>>>>
>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>
>>>> I've tried using this one and the ones above together and they seem to 
>>>> work fine.
>>> Ron K pointed out that it might be related to the order. I'm going to
>>> do some re-arranging to put the global stuff first and less specific
>>> stuff last. I didn't realize that might have been the case.
>>>
>> That is true for anything else you may have in your userChrome.css file 
>> and, possibly, some other non-default theme or add-on. The easiest way 
>> to test this possibility would be to create a userChrome.css file with 
>> just these overrides. Then, if that still doesn't work, try it on the 
>> default them and lastly, try it by disabling add-ons (Note: don't use 
>> "Help>Restart with addons disabled" option since that also disables 
>> userChrome.css overrides.)
>>
>> Good luck.
> 
> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
> want to be. Sadly, some options like turning off Troubleshooting and
> Open Containing folder cause Sync to appear. So one thing gets hidden
> but the formerly hidden thing appears. In any case, I think I'll be
> good with what I have now. I've been running Firefox for years with a
> kiosked cfg file and userChrome and no one's screwed up an install
> yet. Thanks immensely! It's been quite a learning experience.
> 
None of those overrides should affect the Sync button override. Can you 
post here your entire userChrome.css file? I'll test it on my system and 
see what's happening.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 3:21:55 PM
On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
<REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:

>Thee Chicago Wolf [MVP] wrote:
>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>> 
>>> Thee Chicago Wolf [MVP] wrote:
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>> good.
>>>>>>>>>>
>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>
>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>> useful?
>>>>>>>>>
>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>
>>>>>>>>> #bookmarksMenu,
>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>
>>>>>>>>> Good luck.
>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>
>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>
>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>
>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>
>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>> Hide all menu items except menubar */
>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>> { display:none !important;}
>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>> menu that I could try? I could live with the other being there but
>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>> Cheers.
>>>>>>
>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>> one I gave you before was:
>>>>>
>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>
>>>>> I've tried using this one and the ones above together and they seem to 
>>>>> work fine.
>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>> do some re-arranging to put the global stuff first and less specific
>>>> stuff last. I didn't realize that might have been the case.
>>>>
>>> That is true for anything else you may have in your userChrome.css file 
>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>> to test this possibility would be to create a userChrome.css file with 
>>> just these overrides. Then, if that still doesn't work, try it on the 
>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>> "Help>Restart with addons disabled" option since that also disables 
>>> userChrome.css overrides.)
>>>
>>> Good luck.
>> 
>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>> want to be. Sadly, some options like turning off Troubleshooting and
>> Open Containing folder cause Sync to appear. So one thing gets hidden
>> but the formerly hidden thing appears. In any case, I think I'll be
>> good with what I have now. I've been running Firefox for years with a
>> kiosked cfg file and userChrome and no one's screwed up an install
>> yet. Thanks immensely! It's been quite a learning experience.
>> 
>None of those overrides should affect the Sync button override. Can you 
>post here your entire userChrome.css file? I'll test it on my system and 
>see what's happening.

With a couple things omitted (but listed down below), here's what I
have:

#addonsMgrGroup,
#bookmarksMenu,
#bookmarksToolbarFolderMenu,
#bookmarks-menu,
#component-bar,
#context-blockimage,
#context-bookmarkframe,
#context-bookmarklink,
#context-bookmarkpage,
#context-keywordfield,
#context-sendaudio,
#context-sendimage,
#context-sendlink,
#context-sendpage,
#context-sendvideo,
#context-setDesktopBackground,
#context-setWallpaper,
#defaultBrowserButton,
#organizeBookmarksSeparator,
#popupPolicyButton,
#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
#sync-button,
#sync-setup,
#sync-setup-appmenu,
#sync-status-button,
#sync-syncnowitem-appmenu,
#BrowserPreferences radio[pane="paneSync"] {display: none
!important;},
menu[label="Tools"] menuitem[label="Sync Now"]



So what I've been seeing is that when I introduce...
/* Hide all menuseparators */
#toolbar-context-menu menuseparator {display:none !important;} 

....after #toolbar-context-menu
menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
Sync and Tools > Options > Sync) reappears.

Same goes for adding...

/* Removes Help Troubleshooting menu option */
menuitem#troubleShooting {display: none !important;} 

/* Removes "Open Containing Folder" button from about:support page */
div#contents button {display: none !important;}

....BEFORE sync related entries. Sync stuff reappears. If I add it
AFTER the sync related entries, sync stuff stays hidden but Help >
Troubleshooting Information is still there.

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 3:44:06 PM
Thee Chicago Wolf [MVP] wrote:
> On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
> 
>> Thee Chicago Wolf [MVP] wrote:
>>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>
>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>>> good.
>>>>>>>>>>>
>>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>>
>>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>>> useful?
>>>>>>>>>>
>>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>>
>>>>>>>>>> #bookmarksMenu,
>>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>>
>>>>>>>>>> Good luck.
>>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>>
>>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>>
>>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>>
>>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>>
>>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>>> Hide all menu items except menubar */
>>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>>> { display:none !important;}
>>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>>> menu that I could try? I could live with the other being there but
>>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>>> Cheers.
>>>>>>>
>>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>>> one I gave you before was:
>>>>>>
>>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>>
>>>>>> I've tried using this one and the ones above together and they seem to 
>>>>>> work fine.
>>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>>> do some re-arranging to put the global stuff first and less specific
>>>>> stuff last. I didn't realize that might have been the case.
>>>>>
>>>> That is true for anything else you may have in your userChrome.css file 
>>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>>> to test this possibility would be to create a userChrome.css file with 
>>>> just these overrides. Then, if that still doesn't work, try it on the 
>>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>>> "Help>Restart with addons disabled" option since that also disables 
>>>> userChrome.css overrides.)
>>>>
>>>> Good luck.
>>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>>> want to be. Sadly, some options like turning off Troubleshooting and
>>> Open Containing folder cause Sync to appear. So one thing gets hidden
>>> but the formerly hidden thing appears. In any case, I think I'll be
>>> good with what I have now. I've been running Firefox for years with a
>>> kiosked cfg file and userChrome and no one's screwed up an install
>>> yet. Thanks immensely! It's been quite a learning experience.
>>>
>> None of those overrides should affect the Sync button override. Can you 
>> post here your entire userChrome.css file? I'll test it on my system and 
>> see what's happening.
> 
> With a couple things omitted (but listed down below), here's what I
> have:
> 
> #addonsMgrGroup,
> #bookmarksMenu,
> #bookmarksToolbarFolderMenu,
> #bookmarks-menu,
> #component-bar,
> #context-blockimage,
> #context-bookmarkframe,
> #context-bookmarklink,
> #context-bookmarkpage,
> #context-keywordfield,
> #context-sendaudio,
> #context-sendimage,
> #context-sendlink,
> #context-sendpage,
> #context-sendvideo,
> #context-setDesktopBackground,
> #context-setWallpaper,
> #defaultBrowserButton,
> #organizeBookmarksSeparator,
> #popupPolicyButton,
> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
> #sync-button,
> #sync-setup,
> #sync-setup-appmenu,
> #sync-status-button,
> #sync-syncnowitem-appmenu,
> #BrowserPreferences radio[pane="paneSync"] {display: none
> !important;},
> menu[label="Tools"] menuitem[label="Sync Now"]
> 
> 
> 
> So what I've been seeing is that when I introduce...
> /* Hide all menuseparators */
> #toolbar-context-menu menuseparator {display:none !important;} 
> 
> ...after #toolbar-context-menu
> menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
> Sync and Tools > Options > Sync) reappears.
> 
> Same goes for adding...
> 
> /* Removes Help Troubleshooting menu option */
> menuitem#troubleShooting {display: none !important;} 
> 
> /* Removes "Open Containing Folder" button from about:support page */
> div#contents button {display: none !important;}
> 
> ...BEFORE sync related entries. Sync stuff reappears. If I add it
> AFTER the sync related entries, sync stuff stays hidden but Help >
> Troubleshooting Information is still there.
> 
Could you please supply the unaltered, non-commented contents of your 
userChrome.css file. There are several areas in what you supplied that 
could cause the problems but it's unclear whether some of it is comments 
or some of it is CSS rule mistakes.

TIA

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 4:07:58 PM
>Thee Chicago Wolf [MVP] wrote:
>> On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>> 
>>> Thee Chicago Wolf [MVP] wrote:
>>>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>>
>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>>>> good.
>>>>>>>>>>>>
>>>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>>>
>>>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>>>> useful?
>>>>>>>>>>>
>>>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>>>
>>>>>>>>>>> #bookmarksMenu,
>>>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>>>
>>>>>>>>>>> Good luck.
>>>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>>>
>>>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>>>
>>>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>>>
>>>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>>>
>>>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>>>> Hide all menu items except menubar */
>>>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>>>> { display:none !important;}
>>>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>>>> menu that I could try? I could live with the other being there but
>>>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>>>> Cheers.
>>>>>>>>
>>>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>>>> one I gave you before was:
>>>>>>>
>>>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>>>
>>>>>>> I've tried using this one and the ones above together and they seem to 
>>>>>>> work fine.
>>>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>>>> do some re-arranging to put the global stuff first and less specific
>>>>>> stuff last. I didn't realize that might have been the case.
>>>>>>
>>>>> That is true for anything else you may have in your userChrome.css file 
>>>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>>>> to test this possibility would be to create a userChrome.css file with 
>>>>> just these overrides. Then, if that still doesn't work, try it on the 
>>>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>>>> "Help>Restart with addons disabled" option since that also disables 
>>>>> userChrome.css overrides.)
>>>>>
>>>>> Good luck.
>>>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>>>> want to be. Sadly, some options like turning off Troubleshooting and
>>>> Open Containing folder cause Sync to appear. So one thing gets hidden
>>>> but the formerly hidden thing appears. In any case, I think I'll be
>>>> good with what I have now. I've been running Firefox for years with a
>>>> kiosked cfg file and userChrome and no one's screwed up an install
>>>> yet. Thanks immensely! It's been quite a learning experience.
>>>>
>>> None of those overrides should affect the Sync button override. Can you 
>>> post here your entire userChrome.css file? I'll test it on my system and 
>>> see what's happening.
>> 
>> With a couple things omitted (but listed down below), here's what I
>> have:
>> 
>> #addonsMgrGroup,
>> #bookmarksMenu,
>> #bookmarksToolbarFolderMenu,
>> #bookmarks-menu,
>> #component-bar,
>> #context-blockimage,
>> #context-bookmarkframe,
>> #context-bookmarklink,
>> #context-bookmarkpage,
>> #context-keywordfield,
>> #context-sendaudio,
>> #context-sendimage,
>> #context-sendlink,
>> #context-sendpage,
>> #context-sendvideo,
>> #context-setDesktopBackground,
>> #context-setWallpaper,
>> #defaultBrowserButton,
>> #organizeBookmarksSeparator,
>> #popupPolicyButton,
>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>> #sync-button,
>> #sync-setup,
>> #sync-setup-appmenu,
>> #sync-status-button,
>> #sync-syncnowitem-appmenu,
>> #BrowserPreferences radio[pane="paneSync"] {display: none
>> !important;},
>> menu[label="Tools"] menuitem[label="Sync Now"]
>> 
>> 
>> 
>> So what I've been seeing is that when I introduce...
>> /* Hide all menuseparators */
>> #toolbar-context-menu menuseparator {display:none !important;} 
>> 
>> ...after #toolbar-context-menu
>> menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
>> Sync and Tools > Options > Sync) reappears.
>> 
>> Same goes for adding...
>> 
>> /* Removes Help Troubleshooting menu option */
>> menuitem#troubleShooting {display: none !important;} 
>> 
>> /* Removes "Open Containing Folder" button from about:support page */
>> div#contents button {display: none !important;}
>> 
>> ...BEFORE sync related entries. Sync stuff reappears. If I add it
>> AFTER the sync related entries, sync stuff stays hidden but Help >
>> Troubleshooting Information is still there.
>> 
>Could you please supply the unaltered, non-commented contents of your 
>userChrome.css file. There are several areas in what you supplied that 
>could cause the problems but it's unclear whether some of it is comments 
>or some of it is CSS rule mistakes.

#addonsMgrGroup,
#bookmarksMenu,
#bookmarksToolbarFolderMenu,
#bookmarks-menu,
#component-bar,
#context-blockimage,
#context-bookmarkframe,
#context-bookmarklink,
#context-bookmarkpage,
#context-keywordfield,
#context-sendaudio,
#context-sendimage,
#context-sendlink,
#context-sendpage,
#context-sendvideo,
#context-setDesktopBackground,
#context-setWallpaper,
#defaultBrowserButton,
#organizeBookmarksSeparator,
#popupPolicyButton,
#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
#sync-button,
#sync-setup,
#sync-setup-appmenu,
#sync-status-button,
#sync-syncnowitem-appmenu,
#BrowserPreferences radio[pane="paneSync"] {display: none
!important;},
menu[label="Tools"] menuitem[label="Sync Now"]

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 4:29:34 PM
Thee Chicago Wolf [MVP] wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>> On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>>>
>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>>>>> good.
>>>>>>>>>>>>>
>>>>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>>>>
>>>>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>>>>> useful?
>>>>>>>>>>>>
>>>>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>>>>
>>>>>>>>>>>> #bookmarksMenu,
>>>>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>>>>
>>>>>>>>>>>> Good luck.
>>>>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>>>>
>>>>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>>>>
>>>>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>>>>
>>>>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>>>>
>>>>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>>>>> Hide all menu items except menubar */
>>>>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>>>>> { display:none !important;}
>>>>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>>>>> menu that I could try? I could live with the other being there but
>>>>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>>>>> Cheers.
>>>>>>>>>
>>>>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>>>>> one I gave you before was:
>>>>>>>>
>>>>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>>>>
>>>>>>>> I've tried using this one and the ones above together and they seem to 
>>>>>>>> work fine.
>>>>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>>>>> do some re-arranging to put the global stuff first and less specific
>>>>>>> stuff last. I didn't realize that might have been the case.
>>>>>>>
>>>>>> That is true for anything else you may have in your userChrome.css file 
>>>>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>>>>> to test this possibility would be to create a userChrome.css file with 
>>>>>> just these overrides. Then, if that still doesn't work, try it on the 
>>>>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>>>>> "Help>Restart with addons disabled" option since that also disables 
>>>>>> userChrome.css overrides.)
>>>>>>
>>>>>> Good luck.
>>>>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>>>>> want to be. Sadly, some options like turning off Troubleshooting and
>>>>> Open Containing folder cause Sync to appear. So one thing gets hidden
>>>>> but the formerly hidden thing appears. In any case, I think I'll be
>>>>> good with what I have now. I've been running Firefox for years with a
>>>>> kiosked cfg file and userChrome and no one's screwed up an install
>>>>> yet. Thanks immensely! It's been quite a learning experience.
>>>>>
>>>> None of those overrides should affect the Sync button override. Can you 
>>>> post here your entire userChrome.css file? I'll test it on my system and 
>>>> see what's happening.
>>> With a couple things omitted (but listed down below), here's what I
>>> have:
>>>
>>> #addonsMgrGroup,
>>> #bookmarksMenu,
>>> #bookmarksToolbarFolderMenu,
>>> #bookmarks-menu,
>>> #component-bar,
>>> #context-blockimage,
>>> #context-bookmarkframe,
>>> #context-bookmarklink,
>>> #context-bookmarkpage,
>>> #context-keywordfield,
>>> #context-sendaudio,
>>> #context-sendimage,
>>> #context-sendlink,
>>> #context-sendpage,
>>> #context-sendvideo,
>>> #context-setDesktopBackground,
>>> #context-setWallpaper,
>>> #defaultBrowserButton,
>>> #organizeBookmarksSeparator,
>>> #popupPolicyButton,
>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>>> #sync-button,
>>> #sync-setup,
>>> #sync-setup-appmenu,
>>> #sync-status-button,
>>> #sync-syncnowitem-appmenu,
>>> #BrowserPreferences radio[pane="paneSync"] {display: none
>>> !important;},
>>> menu[label="Tools"] menuitem[label="Sync Now"]
>>>
>>>
>>>
>>> So what I've been seeing is that when I introduce...
>>> /* Hide all menuseparators */
>>> #toolbar-context-menu menuseparator {display:none !important;} 
>>>
>>> ...after #toolbar-context-menu
>>> menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
>>> Sync and Tools > Options > Sync) reappears.
>>>
>>> Same goes for adding...
>>>
>>> /* Removes Help Troubleshooting menu option */
>>> menuitem#troubleShooting {display: none !important;} 
>>>
>>> /* Removes "Open Containing Folder" button from about:support page */
>>> div#contents button {display: none !important;}
>>>
>>> ...BEFORE sync related entries. Sync stuff reappears. If I add it
>>> AFTER the sync related entries, sync stuff stays hidden but Help >
>>> Troubleshooting Information is still there.
>>>
>> Could you please supply the unaltered, non-commented contents of your 
>> userChrome.css file. There are several areas in what you supplied that 
>> could cause the problems but it's unclear whether some of it is comments 
>> or some of it is CSS rule mistakes.
> 
> #addonsMgrGroup,
> #bookmarksMenu,
> #bookmarksToolbarFolderMenu,
> #bookmarks-menu,
> #component-bar,
> #context-blockimage,
> #context-bookmarkframe,
> #context-bookmarklink,
> #context-bookmarkpage,
> #context-keywordfield,
> #context-sendaudio,
> #context-sendimage,
> #context-sendlink,
> #context-sendpage,
> #context-sendvideo,
> #context-setDesktopBackground,
> #context-setWallpaper,
> #defaultBrowserButton,
> #organizeBookmarksSeparator,
> #popupPolicyButton,
> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
> #sync-button,
> #sync-setup,
> #sync-setup-appmenu,
> #sync-status-button,
> #sync-syncnowitem-appmenu,
> #BrowserPreferences radio[pane="paneSync"] {display: none
> !important;},
> menu[label="Tools"] menuitem[label="Sync Now"]
> 
Great, thanks!

There were a couple of omissions and one misplaced rule that caused some 
issues. Below is a re-formatted version that seems to work on my system 
using the default theme.

Also, another good place to check to see if you may have some problems 
with your userChrome.css entries is the Error Console, Tools>Error Console.

I hope this helps.


#addonsMgrGroup,
#bookmarksMenu,
#bookmarksToolbarFolderMenu,
#bookmarks-menu,
#component-bar,
#context-blockimage,
#context-bookmarkframe,
#context-bookmarklink,
#context-bookmarkpage,
#context-keywordfield,
#context-sendaudio,
#context-sendimage,
#context-sendlink,
#context-sendpage,
#context-sendvideo,
#context-setDesktopBackground,
#context-setWallpaper,
#defaultBrowserButton,
#organizeBookmarksSeparator,
#popupPolicyButton,
#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
#toolbar-context-menu menuseparator,
#sync-button,
#sync-setup,
#sync-setup-appmenu,
#sync-status-button,
#sync-syncnowitem-appmenu,
menuitem#troubleShooting,
#BrowserPreferences radio[pane="paneSync"],
menu[label="Tools"] menuitem[label="Sync Now"] {display: none
!important;}

PS: Just a reminder, you may want to create and add the following 
override to your userContent.css file to ensure that the Open 
userChrome.css file button is hidden in the event that someone enters, 
about:support in the URLbar:

div#contents button { display: none !important; }

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 5:10:20 PM
>Thee Chicago Wolf [MVP] wrote:
>>> Thee Chicago Wolf [MVP] wrote:
>>>> On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>
>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>
>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>>>>>> good.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>>>>>
>>>>>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>>>>>> useful?
>>>>>>>>>>>>>
>>>>>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>>>>>
>>>>>>>>>>>>> #bookmarksMenu,
>>>>>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>>>>>
>>>>>>>>>>>>> Good luck.
>>>>>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>>>>>
>>>>>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>>>>>
>>>>>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>>>>>
>>>>>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>>>>>
>>>>>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>>>>>> Hide all menu items except menubar */
>>>>>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>>>>>> { display:none !important;}
>>>>>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>>>>>> menu that I could try? I could live with the other being there but
>>>>>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>>>>>> Cheers.
>>>>>>>>>>
>>>>>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>>>>>> one I gave you before was:
>>>>>>>>>
>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>>>>>
>>>>>>>>> I've tried using this one and the ones above together and they seem to 
>>>>>>>>> work fine.
>>>>>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>>>>>> do some re-arranging to put the global stuff first and less specific
>>>>>>>> stuff last. I didn't realize that might have been the case.
>>>>>>>>
>>>>>>> That is true for anything else you may have in your userChrome.css file 
>>>>>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>>>>>> to test this possibility would be to create a userChrome.css file with 
>>>>>>> just these overrides. Then, if that still doesn't work, try it on the 
>>>>>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>>>>>> "Help>Restart with addons disabled" option since that also disables 
>>>>>>> userChrome.css overrides.)
>>>>>>>
>>>>>>> Good luck.
>>>>>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>>>>>> want to be. Sadly, some options like turning off Troubleshooting and
>>>>>> Open Containing folder cause Sync to appear. So one thing gets hidden
>>>>>> but the formerly hidden thing appears. In any case, I think I'll be
>>>>>> good with what I have now. I've been running Firefox for years with a
>>>>>> kiosked cfg file and userChrome and no one's screwed up an install
>>>>>> yet. Thanks immensely! It's been quite a learning experience.
>>>>>>
>>>>> None of those overrides should affect the Sync button override. Can you 
>>>>> post here your entire userChrome.css file? I'll test it on my system and 
>>>>> see what's happening.
>>>> With a couple things omitted (but listed down below), here's what I
>>>> have:
>>>>
>>>> #addonsMgrGroup,
>>>> #bookmarksMenu,
>>>> #bookmarksToolbarFolderMenu,
>>>> #bookmarks-menu,
>>>> #component-bar,
>>>> #context-blockimage,
>>>> #context-bookmarkframe,
>>>> #context-bookmarklink,
>>>> #context-bookmarkpage,
>>>> #context-keywordfield,
>>>> #context-sendaudio,
>>>> #context-sendimage,
>>>> #context-sendlink,
>>>> #context-sendpage,
>>>> #context-sendvideo,
>>>> #context-setDesktopBackground,
>>>> #context-setWallpaper,
>>>> #defaultBrowserButton,
>>>> #organizeBookmarksSeparator,
>>>> #popupPolicyButton,
>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>>>> #sync-button,
>>>> #sync-setup,
>>>> #sync-setup-appmenu,
>>>> #sync-status-button,
>>>> #sync-syncnowitem-appmenu,
>>>> #BrowserPreferences radio[pane="paneSync"] {display: none
>>>> !important;},
>>>> menu[label="Tools"] menuitem[label="Sync Now"]
>>>>
>>>>
>>>>
>>>> So what I've been seeing is that when I introduce...
>>>> /* Hide all menuseparators */
>>>> #toolbar-context-menu menuseparator {display:none !important;} 
>>>>
>>>> ...after #toolbar-context-menu
>>>> menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
>>>> Sync and Tools > Options > Sync) reappears.
>>>>
>>>> Same goes for adding...
>>>>
>>>> /* Removes Help Troubleshooting menu option */
>>>> menuitem#troubleShooting {display: none !important;} 
>>>>
>>>> /* Removes "Open Containing Folder" button from about:support page */
>>>> div#contents button {display: none !important;}
>>>>
>>>> ...BEFORE sync related entries. Sync stuff reappears. If I add it
>>>> AFTER the sync related entries, sync stuff stays hidden but Help >
>>>> Troubleshooting Information is still there.
>>>>
>>> Could you please supply the unaltered, non-commented contents of your 
>>> userChrome.css file. There are several areas in what you supplied that 
>>> could cause the problems but it's unclear whether some of it is comments 
>>> or some of it is CSS rule mistakes.
>> 
>> #addonsMgrGroup,
>> #bookmarksMenu,
>> #bookmarksToolbarFolderMenu,
>> #bookmarks-menu,
>> #component-bar,
>> #context-blockimage,
>> #context-bookmarkframe,
>> #context-bookmarklink,
>> #context-bookmarkpage,
>> #context-keywordfield,
>> #context-sendaudio,
>> #context-sendimage,
>> #context-sendlink,
>> #context-sendpage,
>> #context-sendvideo,
>> #context-setDesktopBackground,
>> #context-setWallpaper,
>> #defaultBrowserButton,
>> #organizeBookmarksSeparator,
>> #popupPolicyButton,
>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>> #sync-button,
>> #sync-setup,
>> #sync-setup-appmenu,
>> #sync-status-button,
>> #sync-syncnowitem-appmenu,
>> #BrowserPreferences radio[pane="paneSync"] {display: none
>> !important;},
>> menu[label="Tools"] menuitem[label="Sync Now"]
>> 
>Great, thanks!
>
>There were a couple of omissions and one misplaced rule that caused some 
>issues. Below is a re-formatted version that seems to work on my system 
>using the default theme.
>
>Also, another good place to check to see if you may have some problems 
>with your userChrome.css entries is the Error Console, Tools>Error Console.
>
>I hope this helps.
>
>
>#addonsMgrGroup,
>#bookmarksMenu,
>#bookmarksToolbarFolderMenu,
>#bookmarks-menu,
>#component-bar,
>#context-blockimage,
>#context-bookmarkframe,
>#context-bookmarklink,
>#context-bookmarkpage,
>#context-keywordfield,
>#context-sendaudio,
>#context-sendimage,
>#context-sendlink,
>#context-sendpage,
>#context-sendvideo,
>#context-setDesktopBackground,
>#context-setWallpaper,
>#defaultBrowserButton,
>#organizeBookmarksSeparator,
>#popupPolicyButton,
>#toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>#toolbar-context-menu menuseparator,
>#sync-button,
>#sync-setup,
>#sync-setup-appmenu,
>#sync-status-button,
>#sync-syncnowitem-appmenu,
>menuitem#troubleShooting,
>#BrowserPreferences radio[pane="paneSync"],
>menu[label="Tools"] menuitem[label="Sync Now"] {display: none
>!important;}
>
>PS: Just a reminder, you may want to create and add the following 
>override to your userContent.css file to ensure that the Open 
>userChrome.css file button is hidden in the event that someone enters, 
>about:support in the URLbar:
>
>div#contents button { display: none !important; }

Awesome. I'll give it a whirl. Thanks for looking things over and
figuring out the formatting for me. And also the tip on the error
console. Cheers.

- Thee Chicago Wolf [MVP]
0
Thee
4/20/2011 5:21:44 PM
Thee Chicago Wolf [MVP] wrote:
>> Thee Chicago Wolf [MVP] wrote:
>>>> Thee Chicago Wolf [MVP] wrote:
>>>>> On Wed, 20 Apr 2011 08:21:55 -0700, Sailfish
>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>
>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>> On Wed, 20 Apr 2011 08:06:22 -0700, Sailfish
>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>
>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>> On Tue, 19 Apr 2011 13:50:32 -0700, Sailfish
>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>> Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>> Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>> On 4/14/2011 1:17 PM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>> On Thu, 14 Apr 2011 11:57:51 -0700, Sailfish
>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>  wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 4/14/2011 11:33 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>> On 4/14/2011 8:51 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>> On Wed, 13 Apr 2011 23:06:07 -0700, Sailfish
>>>>>>>>>>>>>>>>>>>>>>> <REMOVECAPSsailfish@REMOVECAPSunforgettable.com>    wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 6:43 PM, Thee Chicago Wolf (MVP) wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>> On 4/13/2011 10:16 AM, Thee Chicago Wolf [MVP] wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>> I'm reporting this question in hopes someone else will see it.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I've already done my homework and found a page
>>>>>>>>>>>>>>>>>>>>>>>>>>> (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync)
>>>>>>>>>>>>>>>>>>>>>>>>>>> detailing the necessary items to be put into userChrome.css. However,
>>>>>>>>>>>>>>>>>>>>>>>>>>> when I try the options detailed by the author, I still see that "Set
>>>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync" under Tools>      Options>      Sync. Basically, it doesn't
>>>>>>>>>>>>>>>>>>>>>>>>>>> seem to work.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I've pasted the below into my userChrome.css but I still see the Set
>>>>>>>>>>>>>>>>>>>>>>>>>>> Up Firefox Sync button.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button, #BrowserPreferences radio[label="Sync"]
>>>>>>>>>>>>>>>>>>>>>>>>>>> {display:none!important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> My userChrome.css currently looks like this:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> #addonsMgrGroup,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #bookmarks-menu,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #component-bar,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-setWallpaper,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-setDesktopBackground,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-blockimage,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkframe,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarklink,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-bookmarkpage,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-keywordfield,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendaudio,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendimage,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendlink,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendpage,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #context-sendvideo,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #defaultBrowserButton,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #organizeBookmarksSeparator,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #popupPolicyButton,
>>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Bookmarks Toolbar Folder"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> menu[label="Tools"] menuitem[label="Sync Now"],
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-button,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-syncnowitem-appmenu,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-setup,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #sync-status-button,
>>>>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Any help would be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Try replacing:
>>>>>>>>>>>>>>>>>>>>>>>>>> 	#BrowserPreferences radio[label="Sync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> with:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>>>>>>>> I'll give it a shot. Thanks.
>>>>>>>>>>>>>>>>>>>>>>>> Sure thing.
>>>>>>>>>>>>>>>>>>>>>>> Well, I tried it and the "Set Up Firefox Sync" button under Tools>
>>>>>>>>>>>>>>>>>>>>>>> Options>     Sync is still there. Thanks for the suggestion. By the way,
>>>>>>>>>>>>>>>>>>>>>>> where did you find the info on #BrowserPreferences
>>>>>>>>>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> The DOM Inspector add-on allows you to interrogate both Chrome and
>>>>>>>>>>>>>>>>>>>>>> Content elements. I simply interrogated the Sync button of the Option
>>>>>>>>>>>>>>>>>>>>>> panel (chrome://browser/content/preferences/preferences.xul).
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> btw, I tested the override above on my system to insure that it hid the
>>>>>>>>>>>>>>>>>>>>>> Sync button and it's panel. If it's not working on your system, that may
>>>>>>>>>>>>>>>>>>>>>> indicate that you're either not adding the override in the correct
>>>>>>>>>>>>>>>>>>>>>> userChrome.css file (perhaps from a different profile?), your
>>>>>>>>>>>>>>>>>>>>>> userChrome.css file may have another entry nullifying the one I gave you
>>>>>>>>>>>>>>>>>>>>>> or you may have not entered the override correctly.
>>>>>>>>>>>>>>>>>>>>> Yes, that would make sense. However, I am dropping it in C:\Program
>>>>>>>>>>>>>>>>>>>>> Files (x86)\Mozilla Firefox\Chrome where it's always been. It is
>>>>>>>>>>>>>>>>>>>>> hiding the other things as usual. Where else could a userChrome.css be
>>>>>>>>>>>>>>>>>>>>> hiding? I search the entire drive (hidden files and all) and no other
>>>>>>>>>>>>>>>>>>>>> userChrome.css is showing up that might be thwarting me. I'll simply
>>>>>>>>>>>>>>>>>>>>> try your entry alone and remove the others and report back.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> That is not the location where it should reside; rather, it should
>>>>>>>>>>>>>>>>>>>> reside in your Firefox profile's Chrome folder. The link below gives you
>>>>>>>>>>>>>>>>>>>> instructions on how to locate it on your system:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> http://support.mozilla.com/en-US/kb/Profiles
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> After opening the profile folder, navigate to its Chrome\ folder. You
>>>>>>>>>>>>>>>>>>>> should be able to Cut your existing userChrome.css file from your
>>>>>>>>>>>>>>>>>>>> Firefox 4 installation Chrome folder and Paste it into your open profile
>>>>>>>>>>>>>>>>>>>> Chrome/ folder.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Note: Insure that Firefox is not running when you do this.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Good luck!
>>>>>>>>>>>>>>>>>>> Ok, so the mystery is a little bit solved. There is no chrome folder
>>>>>>>>>>>>>>>>>>> in the profile folder. It shouldn't make a difference but this was a
>>>>>>>>>>>>>>>>>>> Fx4 install that upgraded over Fx 3.6.15. For whatever reason, it
>>>>>>>>>>>>>>>>>>> removes the chrome folder. I can manually add one and things work but
>>>>>>>>>>>>>>>>>>> that's odd. For what it's worth, this is not pointing to the usual
>>>>>>>>>>>>>>>>>>> location but to a custom location where the profile cannot be deleted.
>>>>>>>>>>>>>>>>>>> I'll just leave it at that. Now that I have a handle on it, I'll do
>>>>>>>>>>>>>>>>>>> some experimentation with it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Apparently, Fx 4.0 no longer creates the user profile chrome/ folder. 
>>>>>>>>>>>>>>>>>> However, if you create it and put your userChrome.css file in it, the 
>>>>>>>>>>>>>>>>>> style overrides should work.
>>>>>>>>>>>>>>>>> Yup, this is confirmed on my side two. Other folders from the 3.6.x
>>>>>>>>>>>>>>>>> days are gone too. I guess I just have to work around it. Thanks
>>>>>>>>>>>>>>>>> immensely for the help.
>>>>>>>>>>>>>>>> It's not clear from your response but I want to insure that you 
>>>>>>>>>>>>>>>> understand that even though Fx 4 no longer automatically adds the 
>>>>>>>>>>>>>>>> profile Chrome/ folder, you can simply manually add it yourself, place 
>>>>>>>>>>>>>>>> your userChrome.css file in it and Fx 4 will use the style overrides in 
>>>>>>>>>>>>>>>> it just as it has done with previous releases.
>>>>>>>>>>>>>>> Well, I did get it to work but I had to remove a few items in my
>>>>>>>>>>>>>>> userChrome.css that seemed to be overriding #BrowserPreferences
>>>>>>>>>>>>>>> radio[pane="paneSync"] {display: none !important;} so that part is now
>>>>>>>>>>>>>>> good.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> However, now my "Boorkmarks" menu item and "Bookmarks Toolbar" are
>>>>>>>>>>>>>>> visible to users. I used to have those disabled (hidden) in Fx 3.6 so
>>>>>>>>>>>>>>> users wouldn't add bookmarks or muck around with revealing Bookmarks
>>>>>>>>>>>>>>> Toolbar. I installed Dom Inspector 2.0.9 to see if I could figure it
>>>>>>>>>>>>>>> out on my own but thus far I am clueless.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Getting used to the Dom Inspector takes a little getting used to. You 
>>>>>>>>>>>>>> might find my complementary add-on, InspectorWidget http://bit.ly/fQWA94 
>>>>>>>>>>>>>> useful?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> For now, these style overrides should work:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> #bookmarksMenu,
>>>>>>>>>>>>>> #PersonalToolbar { display:none !important; }
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Good luck.
>>>>>>>>>>>>> Ok, I installed your Inspector Widget and have dabbled a bit to see if
>>>>>>>>>>>>> I could hack around a bit more. I think I just need to practice it a
>>>>>>>>>>>>> bit more to learn how to interpret stuff and how to hide / disable
>>>>>>>>>>>>> what I want. I found a bunch of id's that I thought were related to
>>>>>>>>>>>>> the Bookmarks Toolbar item I was looking to hide but it didn't work:
>>>>>>>>>>>>>
>>>>>>>>>>>>> #MBM_BookmarksToolbar,
>>>>>>>>>>>>> #MBM_viewBookmarksToolbar,
>>>>>>>>>>>>> #bookmarksToolbarFolderMenu,
>>>>>>>>>>>>> #bookmarksToolbarFolderPopup,
>>>>>>>>>>>>> #appmenu_bookmarksToolbar,
>>>>>>>>>>>>> #appmenu_bookmarksToolbarPopup
>>>>>>>>>>>>>
>>>>>>>>>>>>> #bookmarksMenu did hide the Bookmarks menu item (between History and
>>>>>>>>>>>>> Tools) perfectly, thanks. The other I am trying to hide is the
>>>>>>>>>>>>> Bookmarks Toolbar context menu item (well, pretty much all except Menu
>>>>>>>>>>>>> Bar)  that appears when you right-click the gray area just above the
>>>>>>>>>>>>> address bar (Menu Bar, Navigation Toolbar, Bookmarks Toolbar, Add-on
>>>>>>>>>>>>> Bar, Tabs on Tops, and Customize appear when you do it). I'm still
>>>>>>>>>>>>> messin' with it and looking at tutorials here and there.
>>>>>>>>>>>>>
>>>>>>>>>>>> Yeah, menu items a more complicated at finding. Anyway, try this:
>>>>>>>>>>>>
>>>>>>>>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]), /* 
>>>>>>>>>>>> Hide all menu items except menubar */
>>>>>>>>>>>> #toolbar-context-menu menuseparator /* Hide all menuseparators */
>>>>>>>>>>>> { display:none !important;}
>>>>>>>>>>> Well, as luck would have it, removing #BrowserPreferences
>>>>>>>>>>> radio[label="Sync"] {display: none! important;} makes everything else
>>>>>>>>>>> but Menu Bar disappear but then I lose hiding Sync in options. LOL. Is
>>>>>>>>>>> there an entry that just removes "Bookmarks Toolbar" from that context
>>>>>>>>>>> menu that I could try? I could live with the other being there but
>>>>>>>>>>> dammit, I'm gonna exhaust every option (and probably you too!).
>>>>>>>>>>> Cheers.
>>>>>>>>>>>
>>>>>>>>>> That "#BrowserPreferences ..." override came from somewhere else. The 
>>>>>>>>>> one I gave you before was:
>>>>>>>>>>
>>>>>>>>>> #BrowserPreferences radio[pane="paneSync"] { display: none !important; }
>>>>>>>>>>
>>>>>>>>>> I've tried using this one and the ones above together and they seem to 
>>>>>>>>>> work fine.
>>>>>>>>> Ron K pointed out that it might be related to the order. I'm going to
>>>>>>>>> do some re-arranging to put the global stuff first and less specific
>>>>>>>>> stuff last. I didn't realize that might have been the case.
>>>>>>>>>
>>>>>>>> That is true for anything else you may have in your userChrome.css file 
>>>>>>>> and, possibly, some other non-default theme or add-on. The easiest way 
>>>>>>>> to test this possibility would be to create a userChrome.css file with 
>>>>>>>> just these overrides. Then, if that still doesn't work, try it on the 
>>>>>>>> default them and lastly, try it by disabling add-ons (Note: don't use 
>>>>>>>> "Help>Restart with addons disabled" option since that also disables 
>>>>>>>> userChrome.css overrides.)
>>>>>>>>
>>>>>>>> Good luck.
>>>>>>> Well, as I mentioned to Ron, after rearranging item, I'm 95% where I
>>>>>>> want to be. Sadly, some options like turning off Troubleshooting and
>>>>>>> Open Containing folder cause Sync to appear. So one thing gets hidden
>>>>>>> but the formerly hidden thing appears. In any case, I think I'll be
>>>>>>> good with what I have now. I've been running Firefox for years with a
>>>>>>> kiosked cfg file and userChrome and no one's screwed up an install
>>>>>>> yet. Thanks immensely! It's been quite a learning experience.
>>>>>>>
>>>>>> None of those overrides should affect the Sync button override. Can you 
>>>>>> post here your entire userChrome.css file? I'll test it on my system and 
>>>>>> see what's happening.
>>>>> With a couple things omitted (but listed down below), here's what I
>>>>> have:
>>>>>
>>>>> #addonsMgrGroup,
>>>>> #bookmarksMenu,
>>>>> #bookmarksToolbarFolderMenu,
>>>>> #bookmarks-menu,
>>>>> #component-bar,
>>>>> #context-blockimage,
>>>>> #context-bookmarkframe,
>>>>> #context-bookmarklink,
>>>>> #context-bookmarkpage,
>>>>> #context-keywordfield,
>>>>> #context-sendaudio,
>>>>> #context-sendimage,
>>>>> #context-sendlink,
>>>>> #context-sendpage,
>>>>> #context-sendvideo,
>>>>> #context-setDesktopBackground,
>>>>> #context-setWallpaper,
>>>>> #defaultBrowserButton,
>>>>> #organizeBookmarksSeparator,
>>>>> #popupPolicyButton,
>>>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>>>>> #sync-button,
>>>>> #sync-setup,
>>>>> #sync-setup-appmenu,
>>>>> #sync-status-button,
>>>>> #sync-syncnowitem-appmenu,
>>>>> #BrowserPreferences radio[pane="paneSync"] {display: none
>>>>> !important;},
>>>>> menu[label="Tools"] menuitem[label="Sync Now"]
>>>>>
>>>>>
>>>>>
>>>>> So what I've been seeing is that when I introduce...
>>>>> /* Hide all menuseparators */
>>>>> #toolbar-context-menu menuseparator {display:none !important;} 
>>>>>
>>>>> ...after #toolbar-context-menu
>>>>> menuitem:not([id="toggle_toolbar-menubar"]) Sync stuff (Tools > Set Up
>>>>> Sync and Tools > Options > Sync) reappears.
>>>>>
>>>>> Same goes for adding...
>>>>>
>>>>> /* Removes Help Troubleshooting menu option */
>>>>> menuitem#troubleShooting {display: none !important;} 
>>>>>
>>>>> /* Removes "Open Containing Folder" button from about:support page */
>>>>> div#contents button {display: none !important;}
>>>>>
>>>>> ...BEFORE sync related entries. Sync stuff reappears. If I add it
>>>>> AFTER the sync related entries, sync stuff stays hidden but Help >
>>>>> Troubleshooting Information is still there.
>>>>>
>>>> Could you please supply the unaltered, non-commented contents of your 
>>>> userChrome.css file. There are several areas in what you supplied that 
>>>> could cause the problems but it's unclear whether some of it is comments 
>>>> or some of it is CSS rule mistakes.
>>> #addonsMgrGroup,
>>> #bookmarksMenu,
>>> #bookmarksToolbarFolderMenu,
>>> #bookmarks-menu,
>>> #component-bar,
>>> #context-blockimage,
>>> #context-bookmarkframe,
>>> #context-bookmarklink,
>>> #context-bookmarkpage,
>>> #context-keywordfield,
>>> #context-sendaudio,
>>> #context-sendimage,
>>> #context-sendlink,
>>> #context-sendpage,
>>> #context-sendvideo,
>>> #context-setDesktopBackground,
>>> #context-setWallpaper,
>>> #defaultBrowserButton,
>>> #organizeBookmarksSeparator,
>>> #popupPolicyButton,
>>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>>> #sync-button,
>>> #sync-setup,
>>> #sync-setup-appmenu,
>>> #sync-status-button,
>>> #sync-syncnowitem-appmenu,
>>> #BrowserPreferences radio[pane="paneSync"] {display: none
>>> !important;},
>>> menu[label="Tools"] menuitem[label="Sync Now"]
>>>
>> Great, thanks!
>>
>> There were a couple of omissions and one misplaced rule that caused some 
>> issues. Below is a re-formatted version that seems to work on my system 
>> using the default theme.
>>
>> Also, another good place to check to see if you may have some problems 
>> with your userChrome.css entries is the Error Console, Tools>Error Console.
>>
>> I hope this helps.
>>
>>
>> #addonsMgrGroup,
>> #bookmarksMenu,
>> #bookmarksToolbarFolderMenu,
>> #bookmarks-menu,
>> #component-bar,
>> #context-blockimage,
>> #context-bookmarkframe,
>> #context-bookmarklink,
>> #context-bookmarkpage,
>> #context-keywordfield,
>> #context-sendaudio,
>> #context-sendimage,
>> #context-sendlink,
>> #context-sendpage,
>> #context-sendvideo,
>> #context-setDesktopBackground,
>> #context-setWallpaper,
>> #defaultBrowserButton,
>> #organizeBookmarksSeparator,
>> #popupPolicyButton,
>> #toolbar-context-menu menuitem:not([id="toggle_toolbar-menubar"]),
>> #toolbar-context-menu menuseparator,
>> #sync-button,
>> #sync-setup,
>> #sync-setup-appmenu,
>> #sync-status-button,
>> #sync-syncnowitem-appmenu,
>> menuitem#troubleShooting,
>> #BrowserPreferences radio[pane="paneSync"],
>> menu[label="Tools"] menuitem[label="Sync Now"] {display: none
>> !important;}
>>
>> PS: Just a reminder, you may want to create and add the following 
>> override to your userContent.css file to ensure that the Open 
>> userChrome.css file button is hidden in the event that someone enters, 
>> about:support in the URLbar:
>>
>> div#contents button { display: none !important; }
> 
> Awesome. I'll give it a whirl. Thanks for looking things over and
> figuring out the formatting for me. And also the tip on the error
> console. Cheers.
> 
Sure thing. Best of luck to you.

-- 
Sailfish - Netscape/Mozilla Champion
Netscape/Mozilla Tips: http://www.ufaq.org/ , http://ilias.ca/
Rare Mozilla Stuff: http://www.projectit.com/
0
Sailfish
4/20/2011 5:27:03 PM
Reply:

Similar Artilces:

How to disable Set Up Firefox Sync button and related Sync items using userChrome.css on Firefox 4.0 final
Hi all, I've already done my homework and found a page (http://getsatisfaction.com/mozilla/topics/exploitable_vulnerability_in_firefox_sync) detailing the necessary items to be put into userChrome.css. However, when I try the options detailed by the author, I still see that "Set Up Firefox Sync" under Tools > Options > Sync. Basically, it doesn't seem to work. I've pasted the below into my userChrome.css but I still see the Set Up Firefox Sync button. menu[label="Tools"] menuitem[label="Sync Now"], #sync-button, #sync-setup-appmen...

the "Windows Live" "Help Center" "does not support" Firefox
Name: ets3rodamar@hotmail.com Email: ets3rodamarathotmaildotcom Product: Minefield Summary: the "Windows Live" "Help Center" "does not support" Firefox Comments: I received the following info when I tried to access the "Help Central" service of "Windows Live" "http://g.live.com/9uxp9en-us/ftr2?productkey=wlhomepage"...: https://account.live.com/error.aspx?errcode=1047&mkt=de-de [quote] Browser wird nicht unterstützt Versuchen Sie, Ihren Browser auf eine neuere Version zu aktualisieren, um sich be...

"Firefox" or "Gecko"
Hi, In a lot of places in MDN, like in https://developer.mozilla.org/En/DOM/Attr#Deprecated_properties_and_methods one can see a mention of "Starting in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)...". What is in parens is generated by a template. This was relevant when Gecko/Firefox numbers where different, but I'm wondering if this is necessary anymore for webdev-oriented documentation. I think that since Firefox 4, it would be relevant to just write "Starting in Firefox 7..." (even the ".0" can be dropped I think). This i...

Firefox 2.0.0.4, german version: "Firefox Sitzungswiederherstellung"
Name: Lutz Wilrich Email: LutzatWilrichdotde Product: Firefox Summary: Firefox 2.0.0.4, german version: "Firefox Sitzungswiederherstellung" Comments: Sehr geehrte Damen & Herren, ich habe eine Anmerkung zur deutschen Version von Firefox 2.0.0.4 unter Windows XP. Wenn ich den PC korrekt herunterfahre, während einige Anwendungen (u.a. Firefox) noch geöffnet sind, erscheint beim nächsten Starten von Windows das Firefox-Fenster "Firefox - Sitzungswiederherstellung" mit den beiden Möglichkeiten "Sitzung wiederherstellen" oder ...

Renaming of "Firefox only" to "Toolkit only"
As discussed on irc, lots of pages have the mention "Firefox only", or "Not in Firefox" [1] [2]. That's not very correct technically, as other apps like XULRunner or Thunderbird are also concerned by the "Firefox only" texts. It was proposed to rename those to "Toolkit only" / "Not in toolkit". Those texts should be templatized for easier management. It was also discussed if pre-toolkit stuff should be supported, but I guess that's another debate ;-) I'm not taking action on this personally, that was to open the d...

superreview cancelled: [Bug 308862] Remove unused preference "browser.tabs.opentabfor.urlbar" from firefox : [Attachment 196362] Remove preference "browser.tabs.opentabfor.urlbar" from firefox.js
Asaf Romano (use mozilla.mano@ for email) <bugs.mano@sent.com> has cancelled Hans-Andreas Engel <Hans-A.Engel@unibas.ch>'s request for superreview: Bug 308862: Remove unused preference "browser.tabs.opentabfor.urlbar" from firefox https://bugzilla.mozilla.org/show_bug.cgi?id=308862 Attachment 196362: Remove preference "browser.tabs.opentabfor.urlbar" from firefox.js https://bugzilla.mozilla.org/attachment.cgi?id=196362&action=edit ------- Additional Comments from Asaf Romano (use mozilla.mano@ for email) <bugs.mano@sent.com> Genreally...

superreview requested: [Bug 308862] Remove unused preference "browser.tabs.opentabfor.urlbar" from firefox : [Attachment 196362] Remove preference "browser.tabs.opentabfor.urlbar" from firefox.js
Hans-Andreas Engel <Hans-A.Engel@unibas.ch> has asked Brendan Eich <brendan@mozilla.org> for superreview: Bug 308862: Remove unused preference "browser.tabs.opentabfor.urlbar" from firefox https://bugzilla.mozilla.org/show_bug.cgi?id=308862 Attachment 196362: Remove preference "browser.tabs.opentabfor.urlbar" from firefox.js https://bugzilla.mozilla.org/attachment.cgi?id=196362&action=edit ...

firefox "bookmarks manager" "bookmarks toolbar" "same order"
I did a web and groups search for the subject line to try to find an answer, but came up dry. I'm running Firefox2 on an XP machine. The problem is this: For some reason, Bookmarks Manager does not list the bookmarks in the same order as the bookmarks toolbar. It used to. How can I make it do it again? "Restore natural order" does nothing. I want the order in Bookmarks Manager to change to reflect the order on the bookmarks toolbar. I used to be able to make a change in Bookmarks Manager and it would immediately be reflected in the bookmarks toolbar and would li...

Firefox 2.0.0.15 freezes when clicking "Window" or "Help" menus in OS 10.5.4
Name: kirk Product: Firefox Summary: Firefox 2.0.0.15 freezes when clicking "Window" or "Help" menus in OS 10.5.4 Comments: Hi, From first use after updating firefox it freezes every time when trying to access either the "Window" or "Help" menus in OS 10.5.4. The spinning ball appears during the freeze and will only go away with a forced quit of firefox. No other options in firefox are available during the freeze. The add-ons i have are cooliris, piclense DOM Inspector, Talkback, and adblock plus. Thank you. Browser Details: Mozill...

Why is Sync "embedded" in Firefox 4 ?
Name: Product: Firefox Summary: Why is Sync "embedded" in Firefox 4 ? Comments: I am really surprised,even disappointed,by Sync being embedded in such a way in FX 4 that you can't even remove the status bar icon if you don't actually use it:why what is actually an extension that can be added to Firefox anytime you need it,has to be included by default,its icon sitting annoyingly down there no matter what,and it's not even really disabled by default,as you have to toggle "services.sync.autoconnect" to false to totally disable it.I can't under...

FF4 keeps active "Logins" and "Cookies" despite Setting to remove them after Firefox closing?
Hello, switched recently to Firefox 4 and encountered a minor severe privacy Problem? I wanted to clear all Cookies and Active Logins when closing Firefox 4.0.1! Ive set the relevant checks in the Security settings and this worked for me fine on FF3.6.XX! but everytime on restart of FF4 (and not logged out on sites like Fb before) ive already logged in again and the Cookies have not been deleted? thx sf specs: Vanilla Firefox 4.0.1. without any installed Addons and WinXPSP3 ...

superreview canceled: [Bug 433640] When the "top center" value of the "background-position" CSS property is used for a background image of an element that is an odd number of pixels wide, Firefox 3 bl #4
David Baron [:dbaron] <dbaron@mozilla.com> has canceled David Baron [:dbaron] <dbaron@mozilla.com>'s request for superreview: Bug 433640: When the "top center" value of the "background-position" CSS property is used for a background image of an element that is an odd number of pixels wide, Firefox 3 blurs the background image (No other browsers, including Firefox 2 behave in such a manner) https://bugzilla.mozilla.org/show_bug.cgi?id=433640 Attachment 322307: patch https://bugzilla.mozilla.org/attachment.cgi?id=322307&action=edit ------- Add...

superreview requested: [Bug 433640] When the "top center" value of the "background-position" CSS property is used for a background image of an element that is an odd number of pixels wide, Firefox 3 b #4
David Baron [:dbaron] <dbaron@mozilla.com> has asked Robert O'Callahan (:roc) <roc@ocallahan.org> for superreview: Bug 433640: When the "top center" value of the "background-position" CSS property is used for a background image of an element that is an odd number of pixels wide, Firefox 3 blurs the background image (No other browsers, including Firefox 2 behave in such a manner) https://bugzilla.mozilla.org/show_bug.cgi?id=433640 Attachment 322307: patch https://bugzilla.mozilla.org/attachment.cgi?id=322307&action=edit ------- Additional Com...

"Using" or "With"
Hi all Please can someone enlighten to me as regards the difference with the "Using" and "With" statement when accessing data - which is better, what are the limitations and/or any pointers. Many thanks. Regards DaveDavid WinchesterPlease mark as answer if this is the solution.  using gives you the ability to use the connection and it closes the connection directlly after you finish using it. and there is no need to try- cach - finaly. there is no limitation on using USING keywordMuhanad YOUNISMCSD.NETMy Blog || My Photos || LinkedIn I have a dataobject the re...

Web resources about - How to remove "Set Up Firefox Sync" button and related "Sync" items using userChrome.css on Firefox 4.0 final - mozilla.support.firefox

Resources last updated: 12/7/2015 11:09:21 AM