How does one go about testing if a site is being accessed by a mobile device? I know there are codes out there for JavaScript and such to test for it, but I was wondering what the defacto standard would be. Can anybody help me out? Is there something like or a similar pattern to which phones default?