+ Post New Thread
Results 1 to 9 of 9
Mac Thread, Macs and Firefox Proxy settings in Technical; Hi We have some Macs running Leopard (on our Win2003 domain) and are trying to set the proxy for all ...
  1. #1
    PeteM's Avatar
    Join Date
    Jun 2009
    Posts
    123
    Thank Post
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    13

    Macs and Firefox Proxy settings

    Hi
    We have some Macs running Leopard (on our Win2003 domain) and are trying to set the proxy for all users in Firefox 3.5.
    I've read this thread Firefox on Macs and have overwritten the prefs.js in the Firefox.app folder with the one from my profile but this doesn't work. The file shows the correct proxy/homepage settings but each time a user logs on they have to set the proxy manually again.
    Is there an easy way to get Firefox to retain the proxy and homepage settings for each user that logs on to the Macs without them having to constantly set them manually?
    Thanks

    Pete

  2. #2
    soveryapt's Avatar
    Join Date
    Jan 2009
    Location
    Lancashire
    Posts
    2,401
    Thank Post
    648
    Thanked 277 Times in 244 Posts
    Rep Power
    78
    You can set Firefox to use the system proxy details, I think if you do that once then it does it across the board from my experiences on my own MacBook ..

  3. #3


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,461
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195
    DHCP option 252?

  4. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,709
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777

  5. #5


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,709
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    Using the above article as a reference, this is what I have come up with.

    Applications/Firefox.app/Contents/MacOS/defaults/pref/local-settings.js
    Code:
    // Additions
    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "firefox.cfg");
    Applications/Firefox.app/Contents/MacOS/firefox.cfg
    Code:
    // This file sets some default prefs and locks down some other prefs.
    
    // Proxy
    pref("network.proxy.autoconfig_url", "http://intranet/proxy.pac");
    pref("network.proxy.type", 2);
    
    // Application Updates
    lockPref("app.update.enabled", false);
    lockPref("app.update.autoUpdateEnabled", false);
    lockPref("extensions.update.autoUpdate", false);
    lockPref("extensions.update.enabled", false);
    lockPref("browser.search.update", false);
    
    // Password Manager
    pref("signon.rememberSignons", false);
    
    // Default browser check
    pref("browser.shell.checkDefaultBrowser", false);
    
    // Home page
    lockPref("browser.startup.page", 1);
    lockPref("browser.startup.homepage", "http://www.google.co.uk/");
    N.B. If you do not already use a proxy.pac file, then you can set the proxy manually using these settings instead of the ones shown above...
    Code:
    // Proxy
    lockPref("network.proxy.type", 1);
    lockPref("network.proxy.http", "proxy.embc.uk.com");
    lockPref("network.proxy.http_port", 80);
    lockPref("network.proxy.ssl", "proxy.embc.uk.com");
    lockPref("network.proxy.ssl_port", 80);
    lockPref("network.proxy.ftp", "proxy.embc.uk.com");
    lockPref("network.proxy.ftp_port", 80);
    lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 10.0.0.0/22, 192.168.0.0/24, *.embc.uk.com");
    lockPref("network.proxy.share_proxy_settings", true);

  6. 2 Thanks to Arthur:

    mac_shinobi (11th February 2010), PeteM (11th February 2010)

  7. #6
    PeteM's Avatar
    Join Date
    Jun 2009
    Posts
    123
    Thank Post
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    13
    Thanks Arthur-I'll check the info you posted out today

  8. #7
    PeteM's Avatar
    Join Date
    Jun 2009
    Posts
    123
    Thank Post
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    13
    Yup works a treat Arthur-thanks for your help

  9. #8


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,709
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    Excellent news! I'll have to try it myself with our Mac's now.

  10. #9
    PeteM's Avatar
    Join Date
    Jun 2009
    Posts
    123
    Thank Post
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    13
    1 thing we've just discovered. You need to change the permissions on 2 files for this to all work.

    firefox.cfg which resides in Firefox.app/Contents/MacOS and local-settings.js which resides in Firefox.app/Contents/MacOS/defaults/pref.

    They need the file permissions (chmod) amended to 777 according to my tech or the changes don't get picked up for other users.

SHARE:
+ Post New Thread

Similar Threads

  1. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 01:59 PM
  2. Firefox on Macs
    By Osprey in forum Mac
    Replies: 13
    Last Post: 13th June 2007, 06:02 PM
  3. Proxy Settings
    By Jonny_sims in forum Windows
    Replies: 19
    Last Post: 25th May 2007, 07:12 AM
  4. New firefox up date corrupted all the settings.
    By tickmike in forum General Chat
    Replies: 9
    Last Post: 13th November 2006, 08:04 PM
  5. Firefox settings for all users.
    By Dos_Box in forum Windows
    Replies: 1
    Last Post: 22nd September 2006, 01:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •