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

Popular posts from this blog

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -