Use attr() instead of this.href, to make sure that we don't absolutify the URI.