share url if localstorage else object