• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Using the navigator, locatio... > Setting Netscape Navigator Preferenc...

Setting Netscape Navigator Preferences

You can use the preference method to set Netscape Navigator preferences, such as whether the browser should warn the user before accepting cookies and what screen colors to use. Netscape lists about 16 pages of preferences and their possible settings currently at http://developer.netscape.com/docs/manuals/communicator/preferences/. Here are a few to give you a sampling:

  • browser.background_color. Sets the default color for page backgrounds. Set to a browser color triplet.

  • browser.cache.disk_cache_size. Sets the size of the web page cache on hard disks.

  • browser.foreground_color. Sets the default color for regular web page text. Set to a browser color triplet.

  • browser.startup.page. Sets what page, if any, the Netscape Navigator should display when it starts.

  • browser.window_rect. Specifies the position and dimensions of the browser window, in pixels.

  • network.cookie.warnAboutCookies. Warns the user before accepting cookies.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint