No Browser Nag

Author:Scott Reilly
Version:1.3
First released:2011-07-06
Last update:2019-03-31
Compatibility:WP 3.4 – 5.1.3
Download:[ zip ]
Description:

Removes the browser nag that appears in the admin dashboard when using a less-than-current web…

Extended Description

Tired of visiting your WordPress admin dashboard and having WordPress nag you about your web browser being out of date? Maybe you already know about it and want to hold off on an update and would rather not see the update nag so prominently on your dashboard. Or maybe you don’t want your site to bother your users about how up-to-date their browser may be. Activate this plugin and be bothered no more!

In most cases, your browser will already actively alert you to new releases if it doesn’t already update your browser for you in the background.

Benefits over simply clicking “dismiss” on the browser nag notice yourself when it appears:

  • This plugin prevents WordPress from making the network request to check if the browser is out of date. If you click “dismiss”, all you’re doing is hiding the nag; WordPress will still make the network request to check if the browser is out of date.
  • This plugin prevents the nag from appearing for all users to the admin area of the site. Clicking “dismiss” only removes the nag for the person dismissing it.
  • This plugin saves having to see the nag in the first place
  • This plugin saves having to click “Dismiss” to dismiss the nag

Of course I don’t condone using an out-of-date browser. Such a browser puts your computer and data at potential risk. You are often better served with the latest version of your browser: improved security, improved performance, improved stability, and additional features. However, there are situations where you cannot upgrade in a timely fashion, or you are intentionally holding off on upgrading (e.g. as you wait for a bugfix release, or for browser plugins to update their compatibility).

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Find out more at the plugin’s WordPress Plugin Repository page.

Installation

  1. Install via the built-in WordPress plugin installer. Or download and unzip no-browser-nag.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

Frequently Asked Questions

Q. What is this browser nag you mention?
A. Since versions 3.2 of WordPress, when visiting the admin dashboard WordPress will alert you if are currently using an out-of-date version of your particular web browser.

Q. Why would I want to remove the update nag about new releases of my browser?
A. Maybe you’re made aware by your own means as to new browser releases and choose to upgrade on your own schedule. Or maybe you don’t feel WordPress should be nagging you about your browser. Either way, you can save precious dashboard screen real estate otherwise taken up by a browser update nag.

Q. How will I know if my browser has been updated if the nag doesn’t appear?
A. Heretofore you haven’t relied on WordPress to alert you to browser updates. In most cases, the browsers themselves will alert you to updates. And maybe you’re tuned into tech news enough to learn of browser release updates. If you need/prefer for WordPress to alert you to browser updates then of course don’t use this plugin.

Q. Does this plugin just simply hide the nag using CSS or JavaScript?
A. No, it does not make use of CSS nor JavaScript to disable the nag. It more efficiently prevents the check from being performed in the first place, which saves a network request to the Browse Happy service to check if your browser is out of date or not.

Q. Can’t I just click the “Dismiss” link at the bottom of the nag and be done with it without using a plugin?
A. Clicking the “Dismiss” link at the bottom of the browser nag admin dashboard widget only hides the nag for the person clicking it; you cannot otherwise proactively prevent other users from seeing the browser nag. Also, even if the nag is dismissed, WordPress still routinely performs the check, which incurs a network request.

Release Log

1.3 (2019-03-30)

  • Change: Hook the pre_site_transient_browser_ filter later to ensure plugin doesn’t conflict with other functions operating at default priority
  • New: Add unit tests
  • New: Add README.md file
  • New: Add CHANGELOG.md file and move all but most recent changelog entries into it
  • Change: Add some inline documentation to explain the approach taken by the plugin
  • Change: Add GitHub link to readme
  • Change: Note compatibility through WP 5.1+
  • Change: Update copyright date (2019)
  • Change: Update License URI to be HTTPS

1.2.2 (2017-02-12)

  • Change: Check that there is a HTTP_USER_AGENT before doing attempting to use its value
  • Change: Minor code and code documentation reformatting (spacing)
  • Change: Minor readme.txt tweaks
  • Change: Note compatibility through WP 4.7+
  • Change: Update copyright date (2017)

1.2.1 (2016-03-20)

  • New: Add LICENSE file.
  • New: Add empty index.php to prevent files from being listed if web server has enabled directory listings.
  • Change: Note compatibility through WP 4.4+.
  • Change: Update copyright date (2016).

Copyright & Disclaimer

Copyright © 2011-2019 by Scott Reilly (aka coffee2code)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Discussion / Support

Have any questions, comments, or suggestions? Please provide them via the plugin’s WordPress.org support forum. I’ll do my best to reply in a timely fashion and help as best I can.

Unfortunately, I cannot provide guaranteed support, nor do I provide support via any other means.

Was this plugin useful useful to you? Consider giving it a rating. If you’re inclined to give it a poor rating, please first post to the support forum to give me a chance to address or explain the situation.