how to set unothorized url on click function code example Example: onclick open link js window.open(url);