Title: WPG Detect Browser
Author: Rakesh Raja
Published: <strong>12 rugsėjo, 2014</strong>
Last modified: 25 liepos, 2026

---

Ieškoti įskiepiuose

![](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

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

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

 * [Informacija](https://lt.wordpress.org/plugins/wpg-detect-browser/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/wpg-detect-browser/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/wpg-detect-browser/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/wpg-detect-browser/#developers)

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

## Aprašymas

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!

## Diegimas

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 🙂

## DUK

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

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“WPG Detect Browser” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

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

[Išverskite “WPG Detect Browser” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/wpg-detect-browser)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/wpg-detect-browser/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/wpg-detect-browser/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/wpg-detect-browser/)
per [RSS](https://plugins.trac.wordpress.org/log/wpg-detect-browser/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

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

## Metainformacija

 *  Version **2.1**
 *  Atnaujinta **prieš 3 savaitės**
 *  Aktyvių instaliacijų **100+**
 *  WordPress versija ** 3.8 ar naujesnė **
 *  Ištestuota iki **7.0.4**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/wpg-detect-browser/)
 * Žymos
 * [browser](https://lt.wordpress.org/plugins/tags/browser/)[comments](https://lt.wordpress.org/plugins/tags/comments/)
   [css](https://lt.wordpress.org/plugins/tags/css/)[detect](https://lt.wordpress.org/plugins/tags/detect/)
   [WPG](https://lt.wordpress.org/plugins/tags/wpg/)
 *  [Daugiau](https://lt.wordpress.org/plugins/wpg-detect-browser/advanced/)

## Įvertinimai

 5 out of 5 stars.

 *  [  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/)

## Autoriai

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

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/wpg-detect-browser/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](http://wordpressfoundation.org/donate/)