Q: Is it possible to change navigator.appname in google chrome? My  college web kiosk has this naive problem that it can only be opened in I.E..
here's the code i recently found out 

if (navigator.appName=='Netscape' || navigator.appName=='Firefox' || navigator.appName=='Google Chrome' || navigator.appName=='Safari' || navigator.appName=='Opera' || navigator.appName=='Opera' ) 
      { 
      alert('This website can only be viewed with Internet Explorer');
      window.history.go(-1); 
  //  window.history.forward(1);
      }

Is there any method to spoof the navigator.appname property in chrome ?
thanks 

A: You can change the useragent from the google chrome inspector tools.
Press F12 and open the chrome inspector
Click on the settings icon (should be in bottom right corner)
In the page go to overrides -> And from there select your useragent as IE 9 / 8 / 7
Now when you check navigator.appName it will show your Netscape.
