MozillaZine

How to lock FireFox toolbars?

User Help for Mozilla Firefox
Ashley Aston
Guest
 

Post Posted December 7th, 2005, 11:14 am

How to lock FireFox toolbars like in IE?

Jimbob0i0
 
Posts: 422
Joined: May 4th, 2005, 1:19 am

Post Posted December 7th, 2005, 11:20 am

question: why would you need to? there's no way to do drive by installs

Ashley Aston
Guest
 

Post Posted December 7th, 2005, 11:30 am

To prevent users from making unauthorized changes.

scratch

User avatar
 
Posts: 4942
Joined: November 6th, 2002, 1:27 am
Location: Massachusetts

Post Posted December 7th, 2005, 11:44 am

there's no built-in feature to do so, but you could easily modify userChrome.css to hide the toolbar modification menu items.

old np
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted December 7th, 2005, 12:10 pm

The following code in userChrome.css will hide the Customize... menu option for toolbars. Users can still turn toolbars on and off. Also, if they're smart, they can just go into userChrome.css or DOM inspector and delete the entries.
Code: Select all
#viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{
display: none !important;
}

Bashar
 
Posts: 320
Joined: November 9th, 2004, 1:58 pm
Location: Kuwait

Post Posted December 7th, 2005, 4:05 pm

cant the users change it back as it used to be by editing userChrome.css ?
If you're not using Firefox, you're not surfing the web, you're suffering it.

Guest
Guest
 

Post Posted December 7th, 2005, 4:11 pm

Bashar wrote:cant the users change it back as it used to be by editing userChrome.css ?


He/She probably wants to run it in some kind of kiosk-mode, so (if it were properly configured, which it probably is not) users can't leave the browser-application.

scratch

User avatar
 
Posts: 4942
Joined: November 6th, 2002, 1:27 am
Location: Massachusetts

Post Posted December 8th, 2005, 2:47 am

aside from that, presumably you wouldn't give them permissions to edit that file.

Jimbob0i0
 
Posts: 422
Joined: May 4th, 2005, 1:19 am

Post Posted December 8th, 2005, 2:54 am

ah yes I hadn't thought of that application - my apologies.

that would be the way I'd do it. userChrome.css to remove any options that I didn't want them to see/use and then set the file permissions to read only - no modify. Note I don't mean setting the RO attribute I mean actual ACL file permissions.

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 27 guests