As I work on developing a website utilizing Bootstrap 4 for its UI design, I have encountered the issue that Bootstrap 4 does not support IE 8 and certain older versions of browsers.
In order to address this, I am looking to implement an error page that will be displayed when a user accesses the site using an unsupported browser.
I am in need of JavaScript code that can accurately detect if the user's browser supports Bootstrap 4.
Is there a way to identify Bootstrap 4 support through JavaScript without having to manually check each supported browser and version? Essentially, I require JavaScript code that specifically identifies Bootstrap 4 support, rather than general browser detection.
This is important because relying on checks like the following may prove ineffective for users with browsers outside of IE, Edge, Safari, Chrome, and Firefox:
if(browser == IE && BrowserVer > 8)
{
supported = true;
}
else if......
If you have any insight or solutions to share, please assist me with this matter. Thank you.