Title: Detector
Author: steve.barnett
Published: <strong>જુલાઇ 21, 2012</strong>
Last modified: સપ્ટેમ્બર 10, 2012

---

પ્લગીન શોધો

આ પલ્ગઇન ** 2 વર્ષથી વધુમાં અપડેટ કરવામાં આવ્યો નથી **. એ કદાચ જાળવવામાં અથવા સપોર્ટેડ
નહી હોય. વર્ડપ્રેસ ના વધુ તાજેતરનાં સંસ્કરણો સાથે ઉપયોગમાં લેવાય તો સુસંગતતા મુદ્દાઓ
હોઈ શકે છે.

![](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://gu.wordpress.org/plugins/detector/#description)
 * [સમીક્ષાઓ](https://gu.wordpress.org/plugins/detector/#reviews)
 *  [સ્થાપન](https://gu.wordpress.org/plugins/detector/#installation)
 * [ડેવલપમેન્ટ](https://gu.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).

## સમીક્ષાઓ

આ પ્લગઇન માટે કોઈ સમીક્ષાઓ નથી.

## ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

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

[“Detector” ને તમારી ભાષામાં અનુવાદ કરો.](https://translate.wordpress.org/projects/wp-plugins/detector)

### વિકાસમાં રસ ધરાવો છો?

[કોડ બ્રાઉઝ કરો](https://plugins.trac.wordpress.org/browser/detector/), જોવો[અસ્વીએન રેપોઝિટરીમાંથી](https://plugins.svn.wordpress.org/detector/),
અથવા સબ્સ્ક્રાઇબ કરો[ડેવલપમેન્ટ](https://plugins.trac.wordpress.org/log/detector/)
દ્વારા[આરઅસઅસ](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://gu.wordpress.org/plugins/tags/detector/)[device](https://gu.wordpress.org/plugins/tags/device/)
   [modernizr](https://gu.wordpress.org/plugins/tags/modernizr/)
 *  [વિગતવાર દૃશ્ય](https://gu.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/)