I would like to know if it's possible to generate the content of .href=... after the user has clicked the button and not in advance. If I look at my page source code I can see the full link :(
<a type="button" class="btn btn-outline-primary" target="_blank" onclick="location.href='{% url 'stream' pk=track.file.pk|safe|cypher_link_stream %}'"><i class="fad fa-play-circle"></i></a>
Thanks.