🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
WPG Detect Browser icon
Maintained Tested up to 7.0.9 #12 in browser

WPG Detect Browser

This will add CSS classes in default WordPress body class. You can get browser version, OS and name.

Active installs100+100+ tier
Downloads · 30d208▲ +48.6% vs prev. 30d
Rating5/51 reviews
Health score60/100Fair
All-time downloads4KSince Sep 2014
Support resolved—No recent threads
RequiresWP 3.8PHP any
Downloads · 7d70▲ +42.9% week over week
Our verdict

Use with caution

WPG Detect Browser works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 4 months ago, and scores 60/100 on our health check.

  • Small user base (100+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

4914Sep 4Oct 18Dec 2
Yesterday19
Daily average (1y)4
Peak day36Jul 5, 2026
Last 12 months1.6K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WPG Detect Browser stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
browser #9 10,000 Best browser plugins →
comments >100 10,000 Best comments plugins →
css >100 10,000 Best css plugins →
detect #5 6,042 Best detect plugins →
WPG #1 15 Best WPG plugins →

Version adoption

Share of active sites per release.

  • 2.061.2%
  • 2.138.8%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WPG Detect Browser

From the official readme · v2.1

Description

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

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 🙂

Changelog

Compatibility update for WordPress 7.0.

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

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best WPG Detect Browser alternatives

All browser plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Console – WordPress PHP Console powered by PsySH WP Console – WordPress PHP Console powered by PsySH An in-browser PHP console for WordPress powered by PsySH by Edi Amin 20K+ ★★★★★★★★★★ 5 (21) 3 months ago 69
2 Browser Screenshots Browser Screenshots Automate the process of taking website screenshots. by Kevin Leary 3K+ ★★★★★★★★★★ 4.8 (19) 3 years ago 39
3 WP BrowserUpdate WP BrowserUpdate This plugin notifies website visitors to update their outdated browser in a non-intrusive… by MacSteini 1K+ ★★★★★★★★★★ 4.6 (16) 22 hours ago 80
4 Polylang – Country Detection Polylang – Country Detection This plugin detects the preferred language according on the country. by Markus Wiesenhofer 1K+ ★★★★★★★★★★ 5 (2) 4 years ago 34
5 PHP Browser Detection PHP Browser Detection PHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report… by Mindshare Labs, Inc. 500+ ★★★★★★★★★★ 4.1 (16) 11 years ago 35
6 Developer Tools Blocker Developer Tools Blocker This plugin blocks non-admin users from using inspect element, while still allowing access… by SwiftNinjaPro 400+ ★★★★★★★★★★ 4.2 (15) 4 years ago 36
7 Friendly User Agent for WooCommerce Friendly User Agent for WooCommerce Displays the user agent (device/platform, browser and browser version) that was used by a… by Blaze Concepts 300+ ★★★★★★★★★★ 5 (10) 4 years ago 38
8 Open Search Document Open Search Document Lets browsers search your site straight from the address bar. by Matthias Pfefferle 200+ ★★★★★★★★★★ 5 (4) 2 months ago 72
9 WP-UserAgent WP-UserAgent WP-UserAgent is a simple plugin that allows you to display details about a computer's… by kyleabaker 200+ ★★★★★★★★★★ 5 (5) 6 years ago 38
10 WP Outdated Browser WP Outdated Browser Show a message if the user using a outdated browser. by Deblyn Prado 100+ ★★★★★★★★★★ 4 (4) 11 years ago 29

FAQ

WPG Detect Browser: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is WPG Detect Browser free?

Yes. WPG Detect Browser is free to download and use from the official WordPress.org plugin directory.

Is WPG Detect Browser safe to use in 2026?

WPG Detect Browser works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 4 months ago, and scores 60/100 on our health check.

How many websites use WPG Detect Browser?

WPG Detect Browser is active on 100+ WordPress websites and has been downloaded 3,991 times since it launched in September 2014. It was downloaded 208 times in the last 30 days.

Does WPG Detect Browser work with WordPress 7.1?

WPG Detect Browser is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was WPG Detect Browser last updated?

The latest version, 2.1, was released on July 25, 2026 (4 months ago).

Who makes WPG Detect Browser?

WPG Detect Browser is developed and maintained by Rakesh Raja.

What are the best alternatives to WPG Detect Browser?

The most popular alternatives to WPG Detect Browser are WP Console (20K+ installs), Browser Screenshots (3K+ installs) and WP BrowserUpdate (1K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open