[Pkg-privacy-commits] [xul-ext-monkeysphere] 07/296: attempt to added modified favicon text (not working)

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit e8745e59f328d4893a0e208f7774f8c9c509108d
Author: Jameson Graef Rollins <jrollins at finestructure.net>
Date:   Thu Jan 7 00:12:41 2010 -0500

    attempt to added modified favicon text (not working)
---
 chrome/content/monkeysphere.js | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 0f34758..f8d495f 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -409,6 +409,11 @@ var monkeysphere = {
 	browser.loadURI(uri.spec);
       },
       25);
+
+    // monkeyspherize favicon text
+    monkeysphere.setFaviconText(monkeysphere.getFaviconText()
+				+ "\n\n"
+				+ "Monkeysphere validated");
   },
 
 ////////////////////////////////////////////////////////////
@@ -593,5 +598,20 @@ var monkeysphere = {
 
       notificationBox.appendNotification(message, value, null, priority, buttons);
     }
+  },
+
+////////////////////////////////////////////////////////////
+// FAVICON FUNCTIONS
+////////////////////////////////////////////////////////////
+
+  ////////////////////////////////////////////////////////////
+  getFaviconText: function() {
+    return document.getElementById("identity-box").tooltipText;
+  },
+
+  ////////////////////////////////////////////////////////////
+  //Sets the tooltip and the text of the favicon popup on https sites
+  setFaviconText: function(str) {
+    document.getElementById("identity-box").tooltipText = str;
   }
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list