Browser detection with Microsoft AJAX Library

Opera can disguise itself as a MS IE or Mozilla browser (Tools > Preferences | Advanced | Network > Browser Identification). This feature lets Opera "slip through" cases where access to a website is restricted to IE or Mozilla browsers.

I noticed that while Peter-Paul Koch's browser detection script correctly identifies Opera even if a fake browser id is set, it is misreported by the Microsoft AJAX Client Library due to the way the browser detection code is implemented in MicrosoftAjax.js.

Related: HOW TO precisely detect the browser version for IE 5 or higher

Comments

Popular posts from this blog

HOW TO Filter Products on Open Food Facts by Country (India) Using DuckDB & Superset

Oracle University Free Courses & Certification Exam Prep Material (2026)

HOW TO dynamically generate a Word document with custom header & footer