Code:
javascript:
var a="https://who.is/whois/";
var b=location.host;
var c=confirm("Are you sure you want to leave this site? You will lookup "+b);
if(c!=false)
{
open(a+b);
}
Bookmarklet:
javascript:var a="https://who.is/whois/";var b=location.host;var c=confirm("Are you sure you want to leave this site? You will lookup "+b);if(c!=false){open(a+b);}