User.js Configuring Firefox options

Source: Internet
Author: User
Tags file copy

Many of the company's users in the use of Firefox, when visiting certain corporate sites, will always automatically pop-up user and Password box required input. My colleague wants me to configure it in a GPO so that I can use window's login account to access the website by default. In other browsers such as IE or chrome, this can be configured by the trust site to achieve, but Firefox wood has this option, for ordinary users, the only setting option is to configure option-security-exception, if it is an advanced user, After you enter About:config, manually add or change the settings of the pref


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/3E/FB/wKioL1PIbx_yL_3cAAB0BgxxZEA970.png "title=" TTT. PNG "alt=" Wkiol1pibx_yl_3caab0bgxxzea970.png "/>

So how do we use Group Policy to unify the changes? Beans also do not want to download the installation of a messy plug-in or ad management templates, after some research, found that the simplest way can actually be configured by the User.js file can be achieved.


Mozilla has a number of JavaScript configuration files, which are located in different file racks by default, and can be referenced in the following documents.


Https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences


His load order is typically to first configure the default file, and then load the user's own pref.js files and user.js, because User.js is the last loaded, so any conflicting settings will be user.js.


A basic overview of user.js see, he does not exist, and users who need it must manually create

Http://kb.mozillazine.org/User.js_file

About configuring variables for specific names and usages

Http://kb.mozillazine.org/About:config_entries


In the case of beans, I need to configure a secure site to use the default NTLM (Windows domain login), then I need to create a user.js file and write the following

Pref ("Network.automatic-ntlm-auth.trusted-uris", "http://www.test.com");


The following is an explanation of the variable


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/3E/FC/wKiom1PIbvHyDCcEAAAxH00aGxI386.png "title=" 234. PNG "alt=" Wkiom1pibvhydcceaaaxh00agxi386.png "/>


Then configure a GPO, execute a user's logon script, and copy the User.js file to the user's %appdata%\mozilla\firefox\profiles\*. Note * The name is random generated by Mozilla.


A copy of the script can be directly written in the CMD statement of the batch file Copy.bat


if exist "%appdata%\mozilla\firefox" for/d%%f in ("%appdata%\mozilla\firefox\profiles\*") do copy/y \\*domain_name *\netlogon\user.js%%f


Specific methods of operation can refer to this blog

Http://eventhisnameistaken.blogspot.com.au/2012/06/manage-firefox-via-group-policy-easy.html


This article is from the "Mapo Tofu" blog, please be sure to keep this source http://beanxyz.blog.51cto.com/5570417/1439784

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.