Notification that the browser is out of date

Тизер They are going away. Yesterday we were forced to fasten another crutch for IE6 / IE7, and now this is no longer necessary. In the CIS, IE6 today has only 0.5% traffic, while IE7 has 1.8%. They really go away. I think that most layout designers have not achieved pixel-by-pixel correspondence with the layout for a long time, and someone does not even check the performance of sites in such old browsers. In this case, it will not be superfluous to warn the user that the site may not work correctly and offer to be updated. I propose a ready-made set of warning panels and a page asking you to choose a new browser.

You can use it as is, or fix it to your needs. Hope you save some time anyway.

How to use?


You can simply insert this line immediately after the opening tag or in the section:
<!--[if lte IE 9]><script src="http://phpbbex.com/oldies/oldies.js" charset="utf-8"></script><![endif]-->

Due to conditional commentary, this script will only be loaded in IE9 and younger. If you wish, you can lower the bar to IE8 or IE7 by correcting 9 to 8 or 7, respectively. The script will be available at this address constantly, since it is used in phpBBex in this form . But if you are not comfortable with such a dependency, you can download the archive with the source files, on the basis of which you can make your version.

What does it look like?


Users of obsolete versions of IE will see a notification styled as IE6:
When you click on it, the user will see the page for choosing a new browser:
Here, many residents should have the feeling “I already saw this somewhere”. Indeed, this is a revised browser selection page, which someone in 2009 already published on Habré (unfortunately, I did not find the original post).

What about IE8?


IE8 accounts for 5.1% of the traffic — still a lot to ignore the existence of such a browser. But his share is rapidly falling. The very moment is not far off ...

Популярность версий IE

But what about the old versions of other browsers?


As a rule, the problems of a “significant proportion” of outdated versions do not concern alternative browsers - the old Firefox, Chrome and Opera almost completely resolve themselves within two to three years after the release of new versions. Firefox 3.6 was a candidate for a “long-liver,” since many Firefox lovers reacted coldly to the new interface and tight release schedule of their favorite browser, deliberately staying on the old version. A little over a year has passed since the release of Firefox 4, and now Firefox 3.6 has only 2.3%. Its share falls faster than the share of obsolete versions of IE.

Падение популярности устаревших браузеров