# User Agent Detection

This example demonstrates the use of `YAHOO.env.ua` to identify the user's browser and to branch JavaScript logic based on what browser is being used. (Note: We strongly recommend using feature detection rather than user-agent sniffing to fork code; only use this technique where it is absolutely necessary to do so — for example, in cases where browsers do not report their own capabilities accurately.)

NO IFRAME
Drag over the select

IFRAME
Drag over the select