Title: WP Browser/Platform Detection
Author: Gourav RR
Published: <strong>1 de març de 2019</strong>
Last modified: 3 de gener de 2023

---

Cerca extensions

![](https://ps.w.org/wp-browser-platform-detection/assets/banner-772x250.jpg?rev
=2404477)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/wp-browser-platform-detection/assets/icon-256x256.png?rev=2042102)

# WP Browser/Platform Detection

 Per [Gourav RR](https://profiles.wordpress.org/gouravrr/)

[Baixa](https://downloads.wordpress.org/plugin/wp-browser-platform-detection.zip)

 * [Detalls](https://ca.wordpress.org/plugins/wp-browser-platform-detection/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/wp-browser-platform-detection/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/wp-browser-platform-detection/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/wp-browser-platform-detection/#developers)

 [Suport](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## Descripció

This plugin do best role to detect browser/platform. For wordpress developer its
been complicated to detect browser/platform, this plugin will add browser/platform
name as class in body tag of webpage, so as a developer you can easily detect browser/
platform and write some CSS or JS stuff according to your requirements.

The plugin will do the following

 1. Browser
 2. Web server
 3. Device
 4. Operating system

For example, if you are using ipad, then this plugin will add ipad, osx, and safari
classes in body tag.

### Additional enhancements in version 2.0.0

 1. Detected browsers
     ‣ Chrome ‣ Safari ‣ Netscape ‣ Opera ‣ Opera Mini ‣ Opera Mobi‣
    Mac Internet Explorer ‣ Windows Internet Explorer ‣ FireFox ‣ Internet Explorer‣
    Microsoft Edge Browser ‣ Lynx Browser
 2. Detected Web servers
     ‣ Apache HTTP Server ‣ Microsoft IIS 7 ‣ Microsoft IIS ‣ 
    Nginx Web Server
 3. Detected Devices
     ‣ iPad ‣ iPod ‣ iPhone ‣ Android ‣ Silk ‣ Kindle ‣ BlackBerry‣
    Mobile
 4. Detected Operating systems
     ‣ Windows 10 ‣ Windows 8.1 ‣ Windows 8 ‣ Windows 7 ‣
    Windows Vista ‣ Windows XP ‣ Windows 2000 ‣ Windows ME ‣ Windows 98 ‣ Windows 95‣
    Windows 3.11 ‣ Mac OS 10 ‣ Mac OS 9 ‣ Linux ‣ Ubuntu ‣ Mobile Web OS

### Arbitrary section

## Instal·lació

 1. Upload `wp-browser-platform-detection` to the `/wp-content/plugins/` directory
 2. Activate the plugin
 3. Inspect page or Check page source and you will find new classes added to body 🙂

## Ressenyes

![](https://secure.gravatar.com/avatar/d5377744697a7763752ea9bb70be7e6c13255cdf92713695e93ac5c701b110e7?
s=60&d=retro&r=g)

### 󠀁[Great, Flexible Plugin Ever](https://wordpress.org/support/topic/great-flexible-plugin-ever/)󠁿

 [Vinayak Zutti](https://profiles.wordpress.org/vinayakz/) 2 de juny de 2019

Great plugin ever, which helps in flexibility for CSS, HTML, by just adding only
class in body, detecting browser and its platform… 🤗🤗🤗

![](https://secure.gravatar.com/avatar/0eddf1b93d90c8378f4f8df599c8c993532301c881b122c2e9732195aec49cc0?
s=60&d=retro&r=g)

### 󠀁[Detect Device Plugin, build for Developers](https://wordpress.org/support/topic/detect-device-plugin-build-for-developers/)󠁿

 [Gourav RR](https://profiles.wordpress.org/gouravrr/) 1 de març de 2019

For wordpress developer its been complicated to detect browser/platform, this plugin
will add browser/platform name as class in body tag of webpage, so as a developer
you can easily detect browser/platform and write some CSS or JS stuff according 
to your requirements. Enjoy guys… 🙂

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## Col·laboradors i desenvolupadors

«WP Browser/Platform Detection» és programari de codi obert. La següent gent ha 
col·laborat en aquesta extensió.

Col·laboradors

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

[Traduïu «WP Browser/Platform Detection» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/wp-browser-platform-detection)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/wp-browser-platform-detection/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/wp-browser-platform-detection/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.0.9

 * Initial release

#### 1.0.0

 * Enhanced to detect all devices, browsers, operating systems and web-servers

#### 2.0.0

 * Tested on WordPress 6.0

## Meta

 *  Versió **2.0.0**
 *  Darrera actualització **fa 3 anys**
 *  Instal·lacions actives **100+**
 *  Versió del WordPress ** 4.0 o posterior **
 *  Provada fins a **6.0.12**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-browser-platform-detection/)
 * Etiquetes
 * [body class](https://ca.wordpress.org/plugins/tags/body-class/)[browser](https://ca.wordpress.org/plugins/tags/browser/)
   [detect](https://ca.wordpress.org/plugins/tags/detect/)[device detection](https://ca.wordpress.org/plugins/tags/device-detection/)
   [platform](https://ca.wordpress.org/plugins/tags/platform/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/wp-browser-platform-detection/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  2 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## Col·laboradors

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://wordpressfoundation.org/donate/)