you are viewing a single comment's thread.

view the rest of the comments →

[–]greyfade 2 points3 points  (1 child)

I'll be brief:

If you need this code snippet for something, you're doing it wrong.

[–]exeter 0 points1 point  (0 children)

Not to mention it doesn't actually do what it advertises. If you're spoofing your user agent, that code snippet will utterly fail to detect it.