WPG Detect Browser

November 28, 2016

WPG Detect Browser Plugin

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

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!

Arbitrary section

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 🙂

FAQ

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.

Changelog

1.0

  • Initial release

Details

  • Version: 2.0
  • Active installations: 100
  • WordPress Version: 3.8
  • Tested up to: 4.0.38

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars