As you all know that the Microsoft has ended the support for the Internet Explorer browser. The modern web technologies are also not supporting it.
You might want to create a website in the latest technology stack which works perfectly in all browsers and suddenly when you open it on Internet Explorer you shout “What a holy shit! The site is not working at all”. The problem is with the Internet Explorer which Microsoft has stopped its support, even the Microsoft Security Chief says that the Internet Explorer is not a browser. Lol!
How you may detect which browser it is?
Using this code you can detect the browser and can display an alert message to change the browser.