The href property, as in element.href
, always returns an absolute URL containing the hostname etc.
If you just want the attributes value and not the absolute URL, you can do
e.target.getAttribute('href');
or with jQuery
$(e.target).attr('href');
not that in jQuery prop() would return the property, i.e. the absolute URL
$(e.target).prop('href');