Skip to content

Commit

Permalink
Merge remote branch 'joe/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
codebutler committed Oct 23, 2010
2 parents 4f0d66e + 8b18235 commit b19f7c8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions xpi/handlers/tumblr.js
@@ -0,0 +1,16 @@
// Authors:
// Joe Basirico <joe@whoisjoe.net>
register({
name: 'tumblr.com',
url: 'http://www.tumblr.com/',
icon: 'http://assets.tumblr.com/images/favicon.gif?2',
domains: [ 'tumblr.com' ],
sessionCookieNames: [ 'pfp' ],

identifyUser: function() {
var prefs = this.httpGet(this.siteUrl + 'preferences');
this.userName = prefs.body.querySelector('input#user_email.text_field').value;

//todo add code to grab usericon
}
});

0 comments on commit b19f7c8

Please sign in to comment.