Hey I have this little javascript bookmark
javascript:(function(){ window.open('http://www.mywebsite.com/index.php?currentsite#bookmark'); })()
How can I get the url of the current website into that url?
I have heard of using document.URL
But I am not sure how to get that into the URL in the bookmark with the URL of the site currently browsing. Meaning at the moment the result is http://www.mywebsite.com/index.php?currentsite=document.URL#bookmark
Thanks