new way to detech touch devices and copy/paste url from share modal window