// Usage: easiest way is to paste the following code into the Console window of your browser's // Development Tools. // mkwf returns the URL for a webfinger request (for a WriteFreely instance or otherwise) function mkwf(h) { var p = h.split('@'); return "https://"+p[1]+"/.well-known/webfinger?resource=acct:"+h; } mkwf('matt@write.as')