Hello. Looking to create a script that:

Detects mobile browser (or mobile phone)
then produces dialogue (confirm/cancel)box to action re direct to another URL