uncryptic / identifox


TwitterFox, modified to work with Identi.ca, including cosmetic and subtle code changes. For the most part, the code is nearly identical to the TwitterFox base: http://www.naan.net/trac/wiki/TwitterFox
Clone URL : http://bitbucket.org/uncryptic/identifox/ (size: 2.3 MB)
commit 2: accb1069ecda
parent 1: f5e529c6353f
branch: default
More find and replace...
James Polera / uncryptic
6 months ago

Changed (Δ65 bytes):

raw changeset »

IdentiFox.mozilla.xpi (binary file changed)

IdentiFox.xpi (binary file changed)

content/login.js (2 lines added, 2 lines removed)

content/twitternotifier.js (2 lines added, 2 lines removed)

content/twitternotifier.xml (1 lines added, 1 lines removed)

Up to file-list IdentiFox.mozilla.xpi:

Binary file has changed.

Up to file-list IdentiFox.xpi:

Binary file has changed.

Up to file-list content/login.js:

@@ -95,7 +95,7 @@ const TwitterNotifierLogin = {
95
95
    var msg = this.strings.getString("AddAccount");
96
96
    var user = {value: ""};
97
97
    var pass = {value: ""};
98
    var result = prompt.promptUsernameAndPassword(window, "TwitterFox", msg, user, pass, "", {value:false});
98
    var result = prompt.promptUsernameAndPassword(window, "IdentiFox", msg, user, pass, "", {value:false});
99
99
    if (result) {
100
100
      this.util.savePassword(user.value, pass.value);
101
101
      this.util.pref().setCharPref("currentUser", user.value);
@@ -109,7 +109,7 @@ const TwitterNotifierLogin = {
109
109
    var prompt = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);
110
110
    var user = this.util.$("username").value;
111
111
    var msg = this.strings.getFormattedString("RemoveAccountConfirm", [user]);
112
    var result = prompt.confirm(window, "TwitterFox", msg);
112
    var result = prompt.confirm(window, "IdentiFox", msg);
113
113
    if (result) {
114
114
      this.util.removePassword(user);
115
115
      this.buildUserPopup();

Up to file-list content/twitternotifier.js:

@@ -373,7 +373,7 @@ TwitterNotifier.prototype = {
373
373
374
374
    if (count > 5) {
375
375
      this._messageQueue = new Array();
376
      this.showNotice(this._strings.getFormattedString("MoreThan5Dents", [unread]));
376
      this.showNotice(this._strings.getFormattedString("MoreThan5Tweets", [unread]));
377
377
    }
378
378
    else {
379
379
      this.showBalloon();
@@ -775,7 +775,7 @@ TwitterNotifier.prototype = {
775
775
  },
776
776
777
777
  updateStatuses: function(e) {
778
    this._util.notify("updateDents");
778
    this._util.notify("updateTweets");
779
779
  },
780
780
781
781
  onPreference: function(e) {

Up to file-list content/twitternotifier.xml:

77
77
      <xul:vbox>
78
78
	<xul:hbox class="twitternotifier-popup-logo-box" align="center">
79
79
	  <xul:image class="twitternotifier-popup-logo" 
80
		     onclick="gTwitterNotifier.openURL('http://twitter.com/home'); 
80
		     onclick="gTwitterNotifier.openURL('http://identi.ca'); 
81
81
			      gTwitterNotifier.closePopup(false); return false;" 
82
82
		     tooltiptext="&twitternotifier.logo.tooltip;" 
83
83
		     src="chrome://twitternotifier/content/logo-small.png" />