Code: Select all
<script type="text/javascript">
loc = window.location.href;
loc = (loc.indexOf('?') != -1)? loc.substring(0,loc.indexOf('?')) : loc;
alert(loc);
</script>
I'd like to 1) take that url, 2) add ?m=1 to the end, then 3) have a text link.
And I have to do it in html because its on blogger.
but I don't know how to make it a text link.
This is my first venture to the second dream level of coding.