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 - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -