Home >Web Front-end >JS Tutorial >Introduction to navigator object in JS

Introduction to navigator object in JS

一个新手
一个新手Original
2017-09-29 09:14:411799browse

Used to identify user client browser

  • Detection plug-in

    • name: 插件的名字
      description: 插件的描述
      filename: 插件的文件名
      length: 插件所处理的 MIME 类型数量
  • ## Register Handler

    • registerContentHandler()
      接收 3 个参数: 要处理的 MIME 类型、可以处理该 MIME 类型的页面的 URL 以及应用程序的名称
      registerPtotocolHandler()
      接收 3 个参数,要处理的协议、处理该协议的页面的 URL 和应用程序的名称

The above is the detailed content of Introduction to navigator object in JS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn