Hey guys
Does anyone has a device detection script you can use on your landing page.i.e:
your "samsung galaxy s5/iphone 5/Nokia Lumia" has been hacked/won etc.

You can detect using User-Agent (Http Headers) that the browser sent.
However, there are so many variants and new devices are being released furiously.
For accurate detection it requires sophisticated matching algorithm and/or just a very complete devices database.
Take this example, there are 15 pages of http-headers variations for "Asus FonePad7"
http://www.handsetdetection.com/prop...odel/Asus/K00Z
Test your device here (Bad news: It can't detect my Xiaomi Mi 3
)
http://app.handsetdetection.com/devices/examine
I think this approach is good enough for detecting phone brand (even better, it's FREE)
Test: http://demo.mobiledetect.net
Download: https://github.com/serbanghita/Mobile-Detect
Another project
Test: http://www.hand-interactive.com/samples/
Download: http://blog.mobileesp.com/?page_id=20