Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Các file user.js là rất nhiều như các tập tin prefs.js trong định dạng và chức năng. Sự khác biệt chính là file user.js được sử dụng để thiết lập hoặc thiết lập lại ưu đãi để giá trị mặc định. Sau khi khởi động lại trình duyệt, các thiết lập user.js thay thế các giá trị lưu trữ của tập tin prefs.js. | 22 Part I Basic Hacking Hacking the user.js File The user.js file is very much like the prefs.js file in format and functionality. The key difference is that the user.js file is used to set or reset preferences to a default value. Upon restarting the browser the user.js settings supersede the stored values of the prefs.js file. The user.js file is static and does not get manipulated by Firefox it is used only to set or reset values in the prefs.js file. So using this file you can easily deploy a common set of hacks to all users in an organization or to your friends. The user.js file is not initially created with the default profile settings and must be created when needed. For example if I had five computers on which I wanted to synchronize some basic Firefox preferences I would create one user.js file and add entries such as the following Set link for Throbber icon click user_pref browser.throbber.url http www.mrtech.com Turn on Find As You Type FAYT user_pref accessibility.typeaheadfind true Autostart FAYT user_pref accessibility.typeaheadfind.autostart true Search all text with FAYT user_pref accessibility.typeaheadfind.linksonly false Set FAYT Timeout in Milliseconds user_pref accessibility.typeaheadfind.timeout 3000 Once the user.js file is created I can close Firefox and copy the file to the profile directory on each computer. The next time and every time the browser is loaded after that these settings will supersede the values that are stored in the prefs.js file even if the user manually changed the prefs.js used about config or changed the preferences in the Tools Options menu. Making preference changes that conflict with values in the user.js within a browsing works only for the remainder of the time the browser is opened closing and relaunching Firefox forces the user.js settings to be reapplied. A key thing to remember is that removing values from the user.js file will not automatically remove them for the prefs.js you must do this manually Therefore if