javascript - How to restrict to web application to specific Browser -
this question has answer here:
i using asp.net in backend , javascript (extjs) in frontend. want web app open in particular browser. ex: ie11. thought try noscript tag
not getting idea how this.
suppose able detect browser how restrict ie 11 only. can suggest need do.
maybe can try following:
var useragent = window.naviagtor.useragent; if (useragent === 'mozilla/5.0 (windows nt 6.3; trident/7.0; rv:11.0) gecko';) { //is ie11 }
Comments
Post a Comment