From 3cdb11e0b22ce09905888b6af3bfc9ea43156d19 Mon Sep 17 00:00:00 2001 From: ElbertF Date: Wed, 17 Aug 2011 18:41:53 +1000 Subject: [PATCH] Added environment variable scanning and app name caching per page --- chrome.manifest | 2 +- chrome/content/apps.js | 26 ++-- chrome/content/content.js | 30 +++- chrome/content/options.xul | 28 +--- chrome/content/{overlay.js => wappalyzer.js} | 142 ++++++++++++------ .../content/{overlay.xul => wappalyzer.xul} | 15 +- .../en-US/{overlay.dtd => wappalyzer.dtd} | 12 +- ...erlay.properties => wappalyzer.properties} | 0 chrome/skin/icons/Umbraco.ico | Bin 0 -> 1150 bytes chrome/skin/mobile/overlay.css | 9 -- chrome/skin/{overlay.css => wappalyzer.css} | 1 + defaults/preferences/defaults.js | 64 ++++---- icon.png | Bin 1727 -> 12044 bytes install.rdf | 4 +- wappalyzer.xpi | Bin 299349 -> 306164 bytes 15 files changed, 194 insertions(+), 139 deletions(-) rename chrome/content/{overlay.js => wappalyzer.js} (77%) rename chrome/content/{overlay.xul => wappalyzer.xul} (73%) rename chrome/locale/en-US/{overlay.dtd => wappalyzer.dtd} (82%) rename chrome/locale/en-US/{overlay.properties => wappalyzer.properties} (100%) create mode 100644 chrome/skin/icons/Umbraco.ico delete mode 100755 chrome/skin/mobile/overlay.css rename chrome/skin/{overlay.css => wappalyzer.css} (89%) diff --git a/chrome.manifest b/chrome.manifest index aae2e82f5..a8be77a4a 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -2,4 +2,4 @@ content wappalyzer chrome/content/ locale wappalyzer en-US chrome/locale/en-US/ skin wappalyzer classic/1.0 chrome/skin/ -overlay chrome://browser/content/browser.xul chrome://wappalyzer/content/overlay.xul +overlay chrome://browser/content/browser.xul chrome://wappalyzer/content/wappalyzer.xul diff --git a/chrome/content/apps.js b/chrome/content/apps.js index 19810a0b2..40c280c92 100644 --- a/chrome/content/apps.js +++ b/chrome/content/apps.js @@ -26,7 +26,8 @@ wappalyzer.cats = { 20: { name: 'Editor', plural: 'Editors' }, 21: { name: 'LMS', plural: 'LMS' }, 22: { name: 'Web server', plural: 'Web servers' }, - 23: { name: 'Cache tool', plural: 'Cache tools' } + 23: { name: 'Cache tool', plural: 'Cache tools' }, + 24: { name: 'Rich text editor', plural: 'Rich text editors' } }; wappalyzer.apps = { @@ -65,7 +66,7 @@ wappalyzer.apps = { 'DataLife Engine': { cats: { 1: 1 }, html: /]+DataLife Engine/i }, 'DirectAdmin': { cats: { 1: 9 }, html: /]+>DirectAdmin<\/a> Web Control Panel/i }, 'Disqus': { cats: { 1: 15 }, html: /(]+id=("|')disqus_thread("|')|]+disqus_url)/ }, - 'dojo': { cats: { 1: 12 }, html: /]* src=("|')[^>]*dojo(\.xd)?\.js/i }, + 'dojo': { cats: { 1: 12 }, html: /]* src=("|')[^>]*dojo(\.xd)?\.js/i, env: /dojo/ }, 'Dokeos': { cats: { 1: 21 }, html: /(]+Dokeos|Portal ]+>Dokeos|@import "[^"]+dokeos_blue)/i, headers: { 'X-Powered-By': /Dokeos/ } }, 'DokuWiki': { cats: { 1: 8 }, html: /]+DokuWiki/i }, 'DotNetNuke': { cats: { 1: 1 }, html: /(]+DotNetNuke|]+drupal\.js|jQuery\.extend\(Drupal\.settings, \{|Drupal\.extend\(\{ settings: \{|]+sites\/(default|all)\/themes\/|]+sites\/(default|all)\/(themes|modules)\/)/i, headers: { 'X-Drupal-Cache': /.*/, 'Expires': /19 Nov 1978/ } }, 'Dynamicweb': { cats: { 1: 1 }, html: /]+Dynamicweb/i }, 'e107': { cats: { 1: 1 }, html: /