(function (href) {
var $a = document.createElement('a');
$a.href = href;
return $a;
})('http://nanashi07.blogspot.tw/2013/03/quickly-parse-domain-name-from-url.html').hostname
A new type of spam for Google Analytics, will Google do something for this? Related discussion: http://moz.com/community/q/ga-event-t...
(function (href) {
var $a = document.createElement('a');
$a.href = href;
return $a;
})('http://nanashi07.blogspot.tw/2013/03/quickly-parse-domain-name-from-url.html').hostname