How to get url from parameter using Javascript/ jQuery : <p>I was trying to make a site just like <a href="https://null-24.com/download/?link=" rel="nofollow noreferrer">https://null-24.com/download/?link=</a>"Your site"</p>

<p>if i enter <a href="https://null-24.com/download/?link=https://www.instandroid.net" rel="nofollow noreferrer">https://null-24.com/download/?link=https://www.instandroid.net</a>
then the download button will take me <a href="https://www.instandroid.net/" rel="nofollow noreferrer">https://www.instandroid.net/</a> when i click.  </p>

<p><a href="https://i.stack.imgur.com/b9q62.png" rel="nofollow noreferrer">Download button</a>
How can i write the function for this?</p>
