Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?
A
mq() media Plugin API
B
addTest() Plugin API
C
testAllProps() Plugin API
D
none of the mentioned
Correct Answer: addTest() Plugin API
The navigator object contains information about the browser. UseAgent property gives user-agent header sent by browser to the server. A navigator.userAgent is used to detect the browser’s user agent and code based on the pertinent cases.