yes javascript can detect web browsers and their OS and much more.
here is just a sample :
"
"
hope this helps the above prints out the clients browser and much more..
you just need this for what your doing:
document.write("Browser Name: " + navigator.appName);
document.write("Browser Version: " + navigator.appVersion);
and then just put those in variables and then plug those variables into a if statement that if the clients browser is google chrome version whatever if version matters then display a window saying to use other browers since we don't support google chrome or it would not be displayed properly.
something like this for example don't copy and paste since this isn't real code but the theory:
var browser = navigator.appName;
var version = navigator.appVersion;
if(browser == google chrome) {
alert("the website won't display properly please use another browser to view our site thanks.");
}
this is just concept.
hope this helps. the alert gives the user a popup window displaying that message. Basic stuff but you can build onto it on how you want to display the message.
Hope this helps.