Saturday 15 March 2014

php - Disable site when ie access in quirks mode -


I am trying to disable my website when a user transmits the site i.e. using the quits mode Does a person know the script in php or javascript which can disable or verify this case?

Thank you.

You can check and see that it matches "CSS1Compat" is.

  var isquirky = (document.compatMode! == 'CSS1Compat'); If (isQuirky === true) {Warning ('Your browser is presenting this page in quirks mode, and it may not display properly.'); }    

No comments:

Post a Comment