What are different Navigator methods available?

JavascriptWeb DevelopmentFront End Technology

You can use several Navigator related properties in your web page. The following are the properties −

Sr.No
Properties & Description
1javaEnabled()
This method determines if JavaScript is enabled in the client. If JavaScript is enabled, this method returns true; otherwise, it returns false.
2plugings.refresh
This method makes newly installed plug-ins available and populates the plugins array with all new plug-in names. Netscape only.
3preference(name,value)
This method allows a signed script to get and set some Netscape preferences. If the second parameter is omitted, this method will return the value of the specified preference; otherwise, it sets the value. Netscape only.
4taintEnabled()
This method returns true if data tainting is enabled; false otherwise.
raja
Published on 23-Feb-2018 11:01:11
Advertisements