I need to detect the browser my users are using because display:none
is utilized frequently on a website I am managing. It is crucial that we ensure users are utilizing browsers that support this CSS property.
Although Request.Browser.Type
provides a string that identifies the browser being used, it does not seem to be entirely reliable (for example, Edge is identified as Chrome) and there is no definitive list available for what the string should be for each browser.
If anyone has better solutions for checking CSS property support based on the user's browser, I would greatly appreciate any suggestions!