Does anyone know a good javascript hint for the user to update the browser

I am trying to find a good way to notify visitors to our site of an update from IE6 in order to get full functionality. I see a lot of this in use. Does anyone know a good source for this?

+3
source share
4 answers

You can put a conditional comment for ie6. Or you can do this by checking the user agent string.

<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
+3
source

, IE6, , , ... , IE6.

, ( 10k +) , .

+1
+1

Chrome Framework - , , IE6, , - .

http://www.chromium.org/developers/how-tos/chrome-frame-getting-started

, :

<meta http-equiv="X-UA-Compatible" content="chrome=1">
<!--[if IE 6]>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<![endif]-->

</body> ( jQuery):

  $(document).ready(function() {
    CFInstall.check({
         mode: "overlay",
         destination: "http://{{ host }}"
    });
  });

If you are not using jQuery or another library, just include the call directly:

CFInstall.check({
   mode: "overlay",
   destination: "http://{{ host }}"
});
+1
source

Source: https://habr.com/ru/post/1732461/


All Articles