public marks

PUBLIC MARKS from decembre with tags url & href

08 June 2018 09:00

JAVASCRIPT - URL - Javascript: document.url without the anchor (hash) portion - Stack Overflow

Specifying the first element worked for me: window.location=document.location.href.match(/(^[^#]*)/)[0]