forked from codebutler/firesheep
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joe Basirico
committed
Oct 23, 2010
1 parent
e2e1616
commit 8b18235
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
}); |