I currently have the following structure (the ID at the end changes based on the code given by shortner )
example.com/7NGOWX
example.com/7iTAXM
With javascript, I use this code to change the url, but it leaves an identifier.
<script>
document.body.innerHTML = document.body.innerHTML.replace(/example.com/g, '');
</script>
How can I make it so that it removes the entire URL instead of leaving it behind 7NGOWX
7iTAXM
?
Herbo source
share