跳到内容

Detector

v0.9.5

steve.barnett · 2012年7月21日 上架

Detector is a simple, PHP- and JavaScript-based browser- and feature-detection library that can adapt to new devices & browsers on its own without …

正在使用
10+
评分
暂无
累计下载
2,310
最近更新
2012年9月11日
需要 WordPress 3.0+已测试到 3.0.5

贡献者

Detector is a simple, PHP- and JavaScript-based browser- and feature-detection library that can adapt to new devices & browsers on its own without the need to pull from a central database of browser information.

Also available on GitHub: https://github.com/SteveBarnett/Detector.

Full documentation is available at github / dmolsen / Detector.

To Do

  • Add some useful responsive image handling, in the style of picturefill.js. Based on families at first?
  • Add functions for conditional loading of content via JS, depending on screen size.
  • wp_enqueue_script for Modernizr
  • Check Modernizr version, custom
  • Add option to add own feature tests from admin area?
  • Add option to add own families from admin area?
  • Add shortcodes?

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums