What are common methods for detecting the type of browser running on a client? (Choose all that apply.)
B. Use the window.addEventListener method.
C. Use the viewport <meta> tag.
D. Use the DisplayMode provider.
B. Incorrect: The window.addEventlistener does not give any information on the browser being used by the client, but it can be used to see whether a browser is HTML5-compliant.
C. Incorrect: The viewport <meta> tag gives access to the visible area of the device; it does not tell you anything about the device itself.
D. Correct: The display mode provider performs some of the analysis of the HTTP request to try and determine what kind of browser made the request.