function getDataForUser(username, callback) {
  callback();
}

$(function() {
  // Loop through links where user profile links are:
  $('.comhead a, .subtext a').each(function() {
    // Check if link is a user profile:
    var link_src = $(this).attr('href');
    if (link_src.substr(0, 8) != "user?id=") {
      return;
    }

    // Bind to link:
    var drop = new Drop({
      target: this,
      content: 'Welcome to the future!',
      position: 'bottom left',
      classes: 'drop-theme-basic',
      openOn: 'hover'
    });

    // Save link for use in callback:
    var link = $(this);
    var username = $(this).attr('href').substr(8)

    // When popover is opened, fetch the user's info:
    drop.on('open', function() {
      // Display loading message:
      $(drop.content).html("Loading!");

      // Fetch data:
      getDataForUser(username, function() {
        $(drop.content).html(username);
      });
    });
  });
});
@@ -50,17 +50,848 @@
 allback(
-)
+%7B%0A    username: %22kaolinite%22,%0A    karma: 1218,%0A    bio: %22Founder of Pleasant.io, a simple, friendly website analytics service.%5Cn%5CnI'm a Rails and Javascript (Angular and Ember) developer from Liverpool, UK. I also work with Go.%5Cn%5CnGithub: http://github.com/timdavies%5Cn%5CnWebsite: http://timdavies.io/%5Cn%5CnEmail: mail@timdavies.io%22,%0A    avatar: null,%0A    account_age: %221156 days ago%22%0A  %7D);%0A%7D%0A%0Afunction renderLoadingTemplate() %7B%0A  var imgURL = chrome.extension.getURL(%22img/loading.gif%22);%0A  console.log(imgURL);%0A  var html = %22%3Cdiv class='hnprofile-loading' style='background-image: url(%22 + imgURL + %22);'%3E%3C/div%3E%22;%0A  return html;%0A%7D%0A%0Afunction renderProfileTemplate(data) %7B%0A  var html = %22%22;%0A  html += %22%3Cdiv class='hnprofile-body'%3E%22%0A  html += %22  %3Cdiv class='hnprofile-username'%3E%22 + data%5B%22username%22%5D + %22%3C/div%3E%22;%0A  html += %22%3C/div%3E%22%0A  return html
 ;%0A%7D%0A%0A$(f
@@ -1323,13 +1323,21 @@
 eme-
-basic
+arrows-bounce
 ',%0A 
@@ -1631,18 +1631,31 @@
 tml(
-%22
+render
 Loading
-!%22
+Template()
 );%0A%0A
@@ -1707,32 +1707,36 @@
 rname, function(
+data
 ) %7B%0A        $(dr
@@ -1752,24 +1752,43 @@
 t).html(
-username
+renderProfileTemplate(data)
 );%0A     

Add some test data for popover and start displaying