Skip to content

Instantly share code, notes, and snippets.

@KTamas
Created November 7, 2010 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save KTamas/666604 to your computer and use it in GitHub Desktop.
Save KTamas/666604 to your computer and use it in GitHub Desktop.
// Authors:
// KTamas <gmail@ktamas.com>
register({
name: "iwiw",
url: "http://iwiw.hu/",
domains: ["iwiw.hu", "wiw.hu"],
sessionCookieNames: ["ajaxable", "__utmz", "JSESSIONID", "autoLoginNew","forgetEmail", "email", "httpslogin", "__utma", "__utmc", "__utmb", "lastHit", "_goa3", "_goa3TC", "_goa3TS", "DA", "DRPDI"],
identifyUser: function() {
var resp = this.httpGet("http://iwiw.hu/pages/main/index.jsp");
this.userName = resp.body.querySelector("#head_whatsup_inner a").innerHTML;
this.userAvatar = null;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment