Modify the firefox address bar color

Source: Internet
Author: User

When using firefox, some frequently used URLs are displayed in the address bar each time. In addition to URLs, there are also website comments. If you don't want to see the comments, and you can't find the relevant configuration items, you can only find another way-since you can't control the display or not, you can modify the font color and background color to make it invisible to the naked eye, the effect is the same as that of ^_^.
The final result is as follows:
 
64-bit Windows 7. log on to SmileWolf. In the directory C: \ Users \ SmileWolf \ AppData \ Roaming \ Mozilla \ Firefox \ Profiles \ logs, write the following content in the file.
01 /*
02 * Edit this file and copy it as userChrome.css into your
03 * profile-directory/chrome/
04 */
05
06 /*
07 * This file can be used to customize the look of Mozilla's user interface
08 * You shoshould consider using! Important on rules which you want
09 * override default settings.
10 */
11
12 /*
13 * Do not remove the @ namespace line -- it's required for correct functioning
14 */
15 @ namespace url ("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");/* set default namespace to XUL */
16
17
18 /*
19 * Some possible accessibility enhancements:
20 */
21 /*
22 * Make all the default font sizes 20 pt:
23 *
24 **{
25 * font-size: 20pt! Important
26 *}
27 */
28 /*
29 * Make menu items in particle 15 pt instead of the default size:
30 *
31 * menupopup> *{
32 * font-size: 15pt! Important
33 *}
34 */
35
36 /*
37 * Give the Location (URL) Bar a fixed-width font
38 */
39. ac-comment {font-size: 100%! Important; color: # cce8cf! Important;}/* define the font size and color of the title in the drop-down menu */
40. ac-comment [selected = 'true'] {color: # 3399ff! Important;}/* define the font color of the title of the selected item in the drop-down menu */
41. ac-url-text {font-size: 100%! Important; color: #000077! Important;}/* define the font size and color of the link in the drop-down menu */
42. ac-url-text [selected = 'true'] {color: # FFFFFF! Important;}/* define the font color of the selected link in the drop-down menu */
43 /*
44 # urlbar {
45
46}
47 */
48 /*
49 * Eliminate the throbber and its annoying movement:
50 *
51 * # throbber-box {
52 * display: none! Important;
53 *}
54 */
55
56 /*
57 * For more examples see http://www.mozilla.org/unix/customizing.html
58 */
 

Author: WuHonghai

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.