Javascript iOS / Desktop detection