N Navigator.preference() (Method) . There is additional
N Navigator.preference() (Method) . There is additional confusion in that there is a plugins[] array that belongs to the document and another than belongs to the navigatorobject. They both contain collections of objects but of different types. This is further confused by the fact that the document.plugins[] array is another name for the document.embeds[] array. . To help clarify this confusing situation, the best recommendation is that we refer to document.embeds[] and navigator.plugins[]and quietly ignore the document.plugins[]array. Furthermore we shall refer to Plugin objects as being something the browser can use to play embedded content and Embed objects will be an instance of a plugin that is alive and running in a document. Example code:
See also: Plugin object, PluginArray object Property attributes: ReadOnly. Navigator.preference() (Method) A mechanism for allowing signed scripts to set a preference value in Netscape . Availability: JavaScript 1.2 JScript 3.0 Internet Explorer 4.0 Netscape 4.0 -navigator.preference() -navigator.preference(aName) JavaScript syntax: -navigator.preference(aName, aValue) aName The name of a preference Argument list: aValue A new value to store in a preference This is not portable but may be necessary in some captive intranet situations where you know what the target client is going to be and have some control over it. Although the method appears to be widely available, the values for specifying user preferences certainly have not been standardized and the security implications are also not common to all the platforms. You should be prepared to write some portability support code if you plan to deploy this functionality. 1507