[WordPress] 外掛分享: Detector

前言介紹

  • 這款 WordPress 外掛「Detector」是 2012-07-20 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-09-10,距離現在已有 4618 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

stevebarnett-1 |

外掛標籤

device | detector | modernizr |

內容簡介

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

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

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

待辦事項

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

原文外掛簡介

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?

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Detector」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.8.2 | 0.8.5 | 0.9.5 | trunk |

延伸相關外掛(你可能也想知道)

  • Gunner Technology Async Asset Loader 》只需安裝並啟用此外掛程式,你就可以快速使用了。, 你的 WordPress 網站會自動開始使用由酷炫 JavaScript 庫 Modernizr 提供的 JavaScript 文件異步載入功能...。

文章
Filter
Apply Filters
Mastodon