Title: WPG Detect Browser
Author: Rakesh Raja
Published: <strong>12 верасня, 2014</strong>
Last modified: 10 ліпеня, 2026

---

Пошук плагінаў

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

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

# WPG Detect Browser

 Аўтар: [Rakesh Raja](https://profiles.wordpress.org/rakeshraja/)

[Спампаваць](https://downloads.wordpress.org/plugin/wpg-detect-browser.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/wpg-detect-browser/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/wpg-detect-browser/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/wpg-detect-browser/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/wpg-detect-browser/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/wpg-detect-browser/)

## Апісанне

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!

## Ўсталёўка

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 🙂

## Часта задаваныя пытанні

### 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.

## Водгукі

На гэты плагін няма водгукаў.

## Удзельнікі і распрацоўшчыкі

“WPG Detect Browser” is open source software. The following people have contributed
to this plugin.

Удзельнікі

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

[Перакласці “WPG Detect Browser” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/wpg-detect-browser)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/wpg-detect-browser/),
праверце [SVN рэпазітарый](https://plugins.svn.wordpress.org/wpg-detect-browser/),
або падпішыцеся на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/wpg-detect-browser/)
па [RSS](https://plugins.trac.wordpress.org/log/wpg-detect-browser/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

#### 7.0.1

 * Updated tested up to WordPress 7.0.1

#### 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

## Мета

 *  Версія **2.1**
 *  Апошняе абнаўленне **1 тыдзень таму**
 *  Актыўных установак **100+**
 *  Версія WordPress ** 3.8 або вышэй **
 *  Правераны да версіі **7.0.2**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/wpg-detect-browser/)
 * Тэгі
 * [browser](https://bel.wordpress.org/plugins/tags/browser/)[comments](https://bel.wordpress.org/plugins/tags/comments/)
   [css](https://bel.wordpress.org/plugins/tags/css/)[detect](https://bel.wordpress.org/plugins/tags/detect/)
   [WPG](https://bel.wordpress.org/plugins/tags/wpg/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/wpg-detect-browser/advanced/)

## Ацэнкі

 5 з 5 зорак.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wpg-detect-browser/reviews/?filter=1)

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

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

## Удзельнікі

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

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/wpg-detect-browser/)

## Падтрымаць

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://wordpressfoundation.org/donate/)