This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to lock Mozilla for homepage only if use UBUNTU?

  • 7 majibu
  • 2 wana tatizo hili
  • 7 views
  • Last reply by cor-el

more options

I want to know how can I lock Mozilla for using only homepage! I'm using UBUNTU 10.04 LTS, and I dont know to find "Program files" like on Windows. I saw a solution on http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/, but I cant find where I must put this file... Please help me!

I want to know how can I lock Mozilla for using only homepage! I'm using UBUNTU 10.04 LTS, and I dont know to find "Program files" like on Windows. I saw a solution on http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/, but I cant find where I must put this file... Please help me!

All Replies (7)

more options

Hi Bambitaxi,

I am not sure I understand what you are tying to do. If you provide a bit more detail about what you are trying to do and why you would like to do this it may help me.

Is the article you looked at this one ? or the old one
if it is a specific comment you looked at can you try to again to provide a link to it.


Are you trying to stop Firefox showing the thumbnail pictures of sites you visit. If so use private browsing when visiting sensitive sites, and consider toggling the feature off

  • open a new tab, and clicking the grid like icon top right

You can also disable the feature, &/or set it to open another chosen page


If you are asking about the the older blogpost about mozill.cfg the the first question is are you an administrator in a corporate/enterprise environment, or are you just using home computers ?

The following links may be of help:

Modified by John99

more options

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new default values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes
more options

OK, here is problem! My employees spend more time on internet, than they work! We have our server, and local network. They just open facebook, or some other sites... I want to lock internet on some computers, so they can just use our local net and work! This is a wery big problem, because we work in a radio dispatch center of a taxi company, and peoples calling our phone, but employees dont answer because they watching some online movie, or facebook...

Homepage is local conection with our server and they write calls and address in the system and I want to lock mozilla only for that, no internet! Is there some solution?

more options

Why then even connect those computers to the internet.

How about using an admin account on the computers yourself, but allowing users/employees only to have ordinary accounts, then as admin set the Windows Firewall to not allow Firefox internet access.


Edit sorry not a totally suitable comment given the Ubuntu title !

Modified by John99

more options

Setup a proxy and lock the Firefox settings to only use that proxy.
Then you can only allow access to that home page in the proxy.
This can also be achieved via a PAC file.

more options

Remember that I wrote that blog post in 2005. :)
I haven't tested it since then, but I'm told by others that it still works. You might be better off trying the CCK Wizard <https://addons.mozilla.org/en-US/firefox/addon/cck/>.

Mike Kaply has also written a series of great blog posts about customizing Firefox for redistribution. <http://mike.kaply.com/?s=lock>

Considering you're talking about employees, you might be interested in the Enterprise deployment. You can ask in the Enterprise Working Group Mailing List. For more info, visit https://mail.mozilla.org/listinfo/enterprise

more options

You can't block or only limit access to specific website by locking prefs.
You will have to take additional measures and block access at the OS level if you do want them to only access intranet and not want them to access other internet websites.