From 1cd2e308dfcb498e1c7ce81839708e938084cd7f Mon Sep 17 00:00:00 2001 From: Benoit Pointet Date: Sat, 29 Oct 2011 11:38:54 +0200 Subject: [PATCH 1/9] fixed cat 24 (rich text editors) --- chrome/content/apps.js | 2 +- chrome/content/options.xul | 6 ++++++ chrome/content/wappalyzer.js | 3 ++- chrome/locale/en-US/wappalyzer.dtd | 1 + defaults/preferences/defaults.js | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/chrome/content/apps.js b/chrome/content/apps.js index 3f22ea855..c04d0db55 100644 --- a/chrome/content/apps.js +++ b/chrome/content/apps.js @@ -24,7 +24,7 @@ if ( typeof wappalyzer != 'undefined' ) { 22: { name: 'Web server', plural: 'Web servers' }, 23: { name: 'Cache tool', plural: 'Cache tools' }, 24: { name: 'Rich text editor', plural: 'Rich text editors' } - }; + }; wappalyzer.apps = { '1C-Bitrix': { cats: { 1: 1 }, html: /(]+components\/bitrix|]+1c\-bitrix)/i }, diff --git a/chrome/content/options.xul b/chrome/content/options.xul index dba4fa01d..0fd6d8983 100755 --- a/chrome/content/options.xul +++ b/chrome/content/options.xul @@ -43,6 +43,7 @@ + @@ -213,6 +214,11 @@ + + + + + diff --git a/chrome/content/wappalyzer.js b/chrome/content/wappalyzer.js index d0b27022d..bde16888a 100644 --- a/chrome/content/wappalyzer.js +++ b/chrome/content/wappalyzer.js @@ -50,7 +50,7 @@ var wappalyzer = (function() { self.newInstall = self.prefs.getBoolPref('newInstall'); self.version = self.prefs.getCharPref('version'); - for ( var i = 1; i <= 23; i ++ ) { + for ( var i = 1; i <= 24; i ++ ) { self.showCats[i] = self.prefs.getBoolPref('cat' + i); } @@ -165,6 +165,7 @@ var wappalyzer = (function() { case 'cat21': self.showCats[21] = self.prefs.getIntPref('cat21'); break; case 'cat22': self.showCats[22] = self.prefs.getIntPref('cat22'); break; case 'cat23': self.showCats[23] = self.prefs.getIntPref('cat23'); break; + case 'cat24': self.showCats[24] = self.prefs.getIntPref('cat24'); break; } }, diff --git a/chrome/locale/en-US/wappalyzer.dtd b/chrome/locale/en-US/wappalyzer.dtd index 2ed67d872..c0c5ba56e 100755 --- a/chrome/locale/en-US/wappalyzer.dtd +++ b/chrome/locale/en-US/wappalyzer.dtd @@ -46,4 +46,5 @@ + diff --git a/defaults/preferences/defaults.js b/defaults/preferences/defaults.js index 97a91f546..41efa0c06 100644 --- a/defaults/preferences/defaults.js +++ b/defaults/preferences/defaults.js @@ -31,3 +31,4 @@ pref('wappalyzer.cat20', true); pref('wappalyzer.cat21', true); pref('wappalyzer.cat22', true); pref('wappalyzer.cat23', true); +pref('wappalyzer.cat24', true); From f173960ad9f13ab1ec936a712f3f6ade17b294d1 Mon Sep 17 00:00:00 2001 From: Benoit Pointet Date: Sun, 30 Oct 2011 17:26:26 +0100 Subject: [PATCH 2/9] added Contens CMS --- chrome/content/apps.js | 1 + chrome/skin/icons/Contens.ico | Bin 0 -> 1406 bytes 2 files changed, 1 insertion(+) create mode 100644 chrome/skin/icons/Contens.ico diff --git a/chrome/content/apps.js b/chrome/content/apps.js index c04d0db55..40c2227b3 100644 --- a/chrome/content/apps.js +++ b/chrome/content/apps.js @@ -53,6 +53,7 @@ if ( typeof wappalyzer != 'undefined' ) { 'comScore': { cats: { 1: 10 }, html: /]* (id=("|')comscore("|')|scr=[^>]+comscore)/ }, 'Concrete5': { cats: { 1: 1 }, html: /]+concrete5/i }, 'Contao': { cats: { 1: 1 }, html: /(