Share box and customized link logic