Name
preference( ) — NN 4 IE n/a DOM n/a
Synopsis
preference(name[,
value])
By way of signed scripts in Navigator 4, you can access a wide variety of user preferences settings. These include even the most detailed items, such as whether the user has elected to download images or whether style sheets are enabled. Most of these settings are intended for scripts used by network administrators to install and control the user settings of enterprisewide deployment of Navigator. Consult the Netscape developer web site for further information about these preferences settings (http://developer.netscape.com/library/documentation/deplymt/jsprefs.htm).
Returned Value
Preference value in a variety of data types.
Parameters
-
name The preference name as a string, such as
general.always_load_images.-
value An optional value to set the named preference.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access