[WordPress] 外掛分享: Detector

首頁外掛目錄 › Detector
10+
安裝啟用
尚無評分
4938 天前
最後更新
問題解決
WordPress 3.0+ v0.9.5 上架:2012-07-20

內容簡介

Detector 是一個簡單的基於 PHP 和 JavaScript 的瀏覽器和特徵檢測庫。它可以自動適應新的設備和瀏覽器,而無需從中央數據庫中獲取瀏覽器信息。

也可在 GitHub 上找到: https://github.com/SteveBarnett/Detector。

完整的文檔位於 github / dmolsen / Detector。

待辦事項

添加一些有用的響應式圖像處理,例如 picturefill.js。一開始基於族系?
添加根據屏幕尺寸條件性加載內容的 JS 函數。
wp_enqueue_script 的 Modernizr
檢查 Modernizr 版本,自定義
添加從管理區域添加自己的 特徵測試 選項?
添加從管理區域添加自己的 族系 選項?
添加短碼?

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Detector」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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?

延伸相關外掛

文章
Filter
Apply Filters
Mastodon