Title: WPG Detect Browser
Author: Rakesh Raja
Published: <strong>12 setembro, 2014</strong>
Last modified: 25 julho, 2026

---

Pesquisar plugins

![](https://ps.w.org/wpg-detect-browser/assets/banner-772x250.jpg?rev=987893)

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

# WPG Detect Browser

 Por [Rakesh Raja](https://profiles.wordpress.org/rakeshraja/)

[Baixar](https://downloads.wordpress.org/plugin/wpg-detect-browser.2.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/wpg-detect-browser/#description)
 * [Avaliações](https://br.wordpress.org/plugins/wpg-detect-browser/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/wpg-detect-browser/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/wpg-detect-browser/#developers)

 [Suporte](https://wordpress.org/support/plugin/wpg-detect-browser/)

## Descrição

This plugin do wonderful thing. For a developer like me its big problem to make 
website perfect for all browsers and for that I need to detect browser and write
specific CSS for that.

This plugin will give you 3 things

[1] Browser Version

[2] Browser Name

[3] Operating System of user!

For example you will see following 3 classes in you body class.

“chrome 37 windows” this way you can use all these 3 classes together or separate!

Please let me know if you find any bug. Help me make this plugin better!

## Instalação

Installation is easy…

 1. Upload `wpg-detect-browser` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. You are done! Check page source and you will find 3 new classes added to body 🙂

## Perguntas frequentes

### Is this compitible with older version?

I have tested it with WordPress 3.8 only. You can check it with older version, It
should work for sure. If its not working please post in support forums, I will try
to resolve it.

### Can I suggest you new feature?

Yeah, I am looking to add more features in this plugin. I will add restrict content
by logged in users.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“WPG Detect Browser” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ Rakesh Raja ](https://profiles.wordpress.org/rakeshraja/)

[Traduzir o “WPG Detect Browser” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wpg-detect-browser)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/wpg-detect-browser/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/wpg-detect-browser/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/wpg-detect-browser/)
por [RSS](https://plugins.trac.wordpress.org/log/wpg-detect-browser/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 2.1

 * Updated tested up to WordPress 7.0

#### 2.0

 * Code cleanup and bug fixes
 * Fixed PHP notices when User-Agent header is missing
 * Fixed undefined variable notice for Netscape / unknown browsers
 * Fixed potential undefined index warning on empty User-Agent
 * Removed duplicate getBrowser() call for better performance
 * Added ABSPATH protection for direct file access
 * Improved PHP 8+ compatibility

#### 1.0

 * Initial release

## Meta

 *  Versão **2.1**
 *  Última atualização **4 meses atrás**
 *  Instalações ativas **100+**
 *  Versão do WordPress ** 3.8 ou superior **
 *  Testado até **7.0.8**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wpg-detect-browser/)
 * Tags
 * [browser](https://br.wordpress.org/plugins/tags/browser/)[comments](https://br.wordpress.org/plugins/tags/comments/)
   [css](https://br.wordpress.org/plugins/tags/css/)[detect](https://br.wordpress.org/plugins/tags/detect/)
   [WPG](https://br.wordpress.org/plugins/tags/wpg/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/wpg-detect-browser/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/)

## Colaboradores

 *   [ Rakesh Raja ](https://profiles.wordpress.org/rakeshraja/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wpg-detect-browser/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://wordpressfoundation.org/donate/)