[wordpress插件] Detector探测器

wordpress 插件 文章 2020-04-16 00:50 503 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Detector is a simple, PHP- and JavaScript-based browser- and feature-detection library that can adapt

检测器是一个简单的,基于PHP和JavaScript的浏览器和功能检测库,可以适应

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.

也可以在GitHub上使用: https://github.com/SteveBarnett/Detector

>

>

Full documentation is available at github / dmolsen / Detector.

完整文档可在 github / dmolsen / Detector 获得。

To Do

要做

    • Add some useful responsive image handling, in the style of picturefill.js.

    • picturefill.js 的样式添加一些有用的响应式图像处理。

      Based on families at first?

    • 首先基于家庭吗?

    • Add functions for conditional loading of content via JS, depending on screen size.
    • 根据屏幕尺寸添加用于通过JS有条件地加载内容的功能。

    • wp_enqueue_script for Modernizr
    • wp_enqueue_script for Modernizr

    • Check Modernizr version, custom
    • 检查Modernizr版本,自定义

    • Add option to add own feature tests from admin area?<

    • 添加选项以从管理区域添加自己的功能测试吗?

      /li>

      / li>

    • Add option to add own families from admin area?

    • 添加选项以从管理区域添加自己的家庭吗?

      li>

      li>

    • Add shortcodes?
    • 添加简码吗?

安装步骤

    1. Go to Plugins > Add New, Upload and choose detector.zip.
    2. 转到“插件”>“添加新的,上传”,然后选择detector.zip。

    3. Activate the plugin.
    4. 激活插件。

下载地址
https://downloads.wordpress.org/plugin/detector.0.9.5.zip
-EOF-

AI助手支持GPT4.0