Title: Detector
Author: steve.barnett
Published: <strong>2012년 7월 21일</strong>
Last modified: 2012년 9월 10일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/detector.svg)

# Detector

 작성자: [steve.barnett](https://profiles.wordpress.org/stevebarnett-1/)

[다운로드](https://downloads.wordpress.org/plugin/detector.0.9.5.zip)

 * [세부사항](https://ko.wordpress.org/plugins/detector/#description)
 * [평가](https://ko.wordpress.org/plugins/detector/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/detector/#installation)
 * [개발](https://ko.wordpress.org/plugins/detector/#developers)

 [지원](https://wordpress.org/support/plugin/detector/)

## 설명

[Detector](http://detector.dmolsen.com/) 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](https://github.com/SteveBarnett/Detector).

Full documentation is available at [github / dmolsen / Detector](https://github.com/dmolsen/Detector/).

### To Do

 * Add some useful responsive image handling, in the style of [picturefill.js](https://github.com/scottjehl/picturefill/).
   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](https://github.com/dmolsen/Detector/wiki/Detector-Test-Tutorial)
   from admin area?
 * Add option to add own [families](https://github.com/dmolsen/Detector/wiki/Detector-Family-Tutorial)
   from admin area?
 * Add shortcodes?

## 설치

 1. Go to Plugins > Add New, Upload and choose detector.zip.
 2. Activate the plugin.

## FAQ

  How do I use Detector?

In order to access the features you need to use the `$ua` object that is automatically
created with the inclusion of Detector in your application. Use the `$ua` object
in a similar way that you would have used the `Modernizr` object on the client-side:

    ```
    global $ua;

    // your script

    if ($ua->svg) {
        ...
    } elseif ($ua->canvas) {
        ...
    }
    ```

See the [full list of browser features](http://detector.dmolsen.com/demo/modernizr-listing/)
that are tested by Modernizr and available with Detector. All of the features tested
with [ua-parser-php](https://github.com/dmolsen/ua-parser-php) are also available
from the `$ua` variable (e.g. `$ua->isMobile` or `$ua->browserFull`)

Some features, (in particular `video`, `audio`, `input`, and `inputtypes`) have 
sub-features, so these are available as nested PHP objects:

    ```
    if ($ua->inputtypes->search) {
        print "<input type='search' ...";
    } else {
        print "<input type='text' ...";
    }
    ```

All features are returned as integer `1` or `0` for `true` or `false`, so they can
be used in logical evaluations in PHP. Sub-features can return `1`, `0`, or a real
value (e.g. screen width).

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Detector”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ steve.barnett ](https://profiles.wordpress.org/stevebarnett-1/)

[자국어로 “Detector”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/detector)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/detector/)는, [SVN 저장소](https://plugins.svn.wordpress.org/detector/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/detector/)을
[RSS](https://plugins.trac.wordpress.org/log/detector/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.9.5

Updated to match dmoslen’s current Detector

#### 0.8.5

Updated to match dmoslen’s current Detector

#### 0.8.2

Updated to match dmoslen’s current Detector

#### 0.8.1

 * Initial release. [regexes.yaml from 2012/07/12: 303c8f9](https://github.com/tobie/ua-parser/commit/303c8f905aa34110467cdfe730cf066ae6f6e18e#regexes.yaml)

## 기초

 *  버전 **0.9.5**
 *  최근 업데이트: **14년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.0 또는 그 이상 **
 *  다음까지 시험됨: **3.0.5**
 *  언어
 * [English (US)](https://wordpress.org/plugins/detector/)
 * 태그:
 * [detector](https://ko.wordpress.org/plugins/tags/detector/)[device](https://ko.wordpress.org/plugins/tags/device/)
   [modernizr](https://ko.wordpress.org/plugins/tags/modernizr/)
 *  [고급 보기](https://ko.wordpress.org/plugins/detector/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/detector/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/detector/reviews/)

## 기여자

 *   [ steve.barnett ](https://profiles.wordpress.org/stevebarnett-1/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/detector/)