How to lock FireFox toolbars?

User Help for Mozilla Firefox
Post Reply
Ashley Aston
Guest

How to lock FireFox toolbars?

Post by Ashley Aston »

How to lock FireFox toolbars like in IE?
Jimbob0i0
Posts: 422
Joined: May 4th, 2005, 1:19 am

Post by Jimbob0i0 »

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

Post by Ashley Aston »

To prevent users from making unauthorized changes.
User avatar
scratch
Posts: 4942
Joined: November 6th, 2002, 1:27 am
Location: Massachusetts

Post by scratch »

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 by old np »

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 by Bashar »

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 by Guest »

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.
User avatar
scratch
Posts: 4942
Joined: November 6th, 2002, 1:27 am
Location: Massachusetts

Post by scratch »

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 by Jimbob0i0 »

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.
Post Reply