function parseTarget (target) {
  return target instanceof HTMLAnchorElement ? target.href : target
}
Checks for the link inside an a tag and returns the url. This is used to get the URL of links hidden inside an a tag.
@param {Element} tar - The element to check
@returns {String} - The URL of the link