From 916a33c137615dfffd457beaeefc8d686eca3c39 Mon Sep 17 00:00:00 2001 From: Camille Barneaud Date: Sat, 18 Aug 2012 01:39:14 +0200 Subject: [PATCH 1/2] -Firefox : Tidy a bit driver.js|Little improvement in firefox xul|Update french translation -Chrome: manifest change in view of upgrading to version 2|css optimization -Merge .gitignore file in one at root --- .gitignore | 2 + drivers/chrome/.gitignore | 1 - drivers/chrome/js/categories.js | 372 ------------------ drivers/chrome/manifest.json | 4 +- drivers/chrome/popup.css | 66 ++-- drivers/firefox/.gitignore | 1 - drivers/firefox/content/js/driver.js | 131 +++--- drivers/firefox/content/xul/wappalyzer.xul | 9 +- .../locale/fr-FR/wappalyzer.properties | 2 +- 9 files changed, 99 insertions(+), 489 deletions(-) create mode 100644 .gitignore delete mode 100644 drivers/chrome/.gitignore delete mode 100644 drivers/chrome/js/categories.js delete mode 100644 drivers/firefox/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..dddebee3a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +drivers/chrome/chrome.zip +drivers/firefox/wappalyzer.xpi \ No newline at end of file diff --git a/drivers/chrome/.gitignore b/drivers/chrome/.gitignore deleted file mode 100644 index a21be109e..000000000 --- a/drivers/chrome/.gitignore +++ /dev/null @@ -1 +0,0 @@ -chrome.zip diff --git a/drivers/chrome/js/categories.js b/drivers/chrome/js/categories.js deleted file mode 100644 index 64e20ec60..000000000 --- a/drivers/chrome/js/categories.js +++ /dev/null @@ -1,372 +0,0 @@ -(function() { - //'use strict'; - - if ( wappalyzer == null ) return; - - var w = wappalyzer; - - w.categories = { - 1: 'cms', - 2: 'message-boards', - 3: 'database-managers', - 4: 'documentation-tools', - 5: 'widgets', - 6: 'web-shops', - 7: 'photo-galleries', - 8: 'wikis', - 9: 'hosting-panels', - 10: 'analytics', - 11: 'blogs', - 12: 'javascript-frameworks', - 13: 'issue-trackers', - 14: 'video-players', - 15: 'comment-systems', - 16: 'captchas', - 17: 'font-scripts', - 18: 'web-frameworks', - 19: 'miscellaneous', - 20: 'editors', - 21: 'lms', - 22: 'web-servers', - 23: 'cache-tools', - 24: 'rich-text editors', - 25: 'javascript-graphics', - 26: 'mobile-frameworks', - 27: 'programming-languages', - 28: 'operating-systems', - 29: 'search-engines' - }; - - w.apps = { - '1C-Bitrix': { cats: [ 1 ], headers: { 'X-Powered-CMS': /Bitrix Site Manager/, 'Set-Cookie': /BITRIX_/i}, html: /]+components\/bitrix|(src|href)=("|')\/bitrix\/(js|templates)/i, script: /1c\-bitrix/i, implies: [ 'PHP' ] }, - '1und1': { cats: [ 6 ], url: /\/shop\/catalog\/browse\?sessid\=/, implies: [ 'PHP' ] }, - '2z Project': { cats: [ 1 ], meta: { 'generator': /2z project/i } }, - 'AddThis': { cats: [ 5 ], script: /addthis\.com\/js/, env: /^addthis$/ }, - 'Adobe CQ5': { cats: [ 1 ], url: /\/etc\/designs\//i, html: /
]* xmlns:jspwiki=/i }, - 'Apache Tomcat': { cats: [ 22 ], headers: { 'Server': /Apache-Coyote/i } }, - 'Apache Traffic Server': { cats: [ 22 ], headers: { 'Server': /YTS/i } }, - 'Arc Forum': { cats: [ 2 ], html: /ping\.src = node\.href;/ }, - 'ATG Web Commerce': { cats: [ 6 ], headers: { 'X-ATG-Version': /ATG/i }, html: /<[^>]+_DARGS/ }, - 'Atlassian Confluence': { cats: [ 8 ], html: /Powered by ]+banshee-php\.org/i, implies: [ 'PHP' ] }, - 'BIGACE': { cats: [ 1 ], meta: { 'generator': /BIGACE/ }, html: /Powered by ]+BIGACE|/ }, - 'CakePHP': { cats: [ 18 ], headers: { 'Set-Cookie': /cakephp=/i }, meta: { 'application-name': /CakePHP/i }, implies: [ 'PHP' ] }, - 'Cargo': { cats: [ 1 ], meta: {'cargo_title': /.*/ }, script: /\/cargo\./i, html: /]+Cargo feed/, implies: [ 'PHP' ] }, - 'CentOS': { cats: [ 28 ], headers: { 'Server': /CentOS/i, 'X-Powered-By': /CentOS/i } }, - 'CFML': { cats: [ 27 ] }, - 'Chameleon': { cats: [ 1 ], meta: { 'generator': /chameleon\-cms/i }, implies: [ 'Apache', 'PHP' ] }, - 'Chamilo': { cats: [ 21 ], meta: { 'generator': /Chamilo/i }, headers: { 'X-Powered-By': /Chamilo/i }, implies: [ 'PHP' ] }, - 'Chartbeat': { cats: [ 10 ], html: /function loadChartbeat\(\) {/i }, - 'Cherokee': { cats: [ 22 ], headers: { 'Server': /Cherokee/i } }, - 'CKEditor': { cats: [ 24 ], env: /^CKEDITOR$/i, implies: [ 'PHP' ] }, - 'ClickHeat': { cats: [ 10 ], script: /clickheat.*\.js/i, env: /^clickHeatBrowser$/, implies: [ 'PHP' ] }, - 'ClickTale': { cats: [ 10 ], html: /if\(typeof ClickTale(Tag)*==("|')function("|')\)/, env: /^ClickTale/i }, - 'Clicky': { cats: [ 10 ], script: /static\.getclicky\.com/, env: /^clicky$/ }, - 'CMS Made Simple': { cats: [ 1 ], meta: { 'generator': /CMS Made Simple/i }, implies: [ 'PHP' ] }, - 'CO2Stats': { cats: [ 10 ], html: /src=("|')http:\/\/www\.co2stats\.com\/propres\.php/ }, - 'CodeIgniter': { cats: [ 18 ], headers: { 'Set-Cookie': /(exp_last_activity|exp_tracker|ci_session)/ }, implies: [ 'PHP' ] }, - 'Commerce Server': { cats: [ 6 ], headers: { 'COMMERCE-SERVER-SOFTWARE': /.+/ }, implies: [ 'Microsoft ASP.NET', 'IIS', 'Windows Server' ] }, - 'comScore': { cats: [ 10 ], html: /]* (id=("|')comscore("|')|scr=[^>]+comscore)/, env: /^_?COMSCORE$/i }, - 'Concrete5': { cats: [ 1 ], meta: { 'generator': /concrete5/i }, implies: [ 'PHP' ] }, - 'Contao': { cats: [ 1, 6 ], html: /(/, implies: [ 'PHP' ] }, - 'Gauges': { cats: [ 10 ], html: /t\.src = '\/\/secure\.gaug\.es\/track\.js/, env: /^_gauges$/ }, - 'Gentoo' : { cats: [ 28 ], headers: { 'X-Powered-By': /-?gentoo/} }, - 'Get Satisfaction': { cats: [ 13 ], html: /var feedback_widget = new GSFN\.feedback_widget\(feedback_widget_options\)/ }, - 'GetSimple CMS': { cats: [ 1 ], meta: {'generator': /GetSimple/ }, implies: [ 'PHP' ] }, - 'Google Analytics': { cats: [ 10 ], script: /(\.google\-analytics\.com\/ga\.js|google-analytics\.com\/urchin\.js)/, env: /^gaGlobal$/ }, - 'Google App Engine': { cats: [ 22 ], headers: { 'Server': /Google Frontend/i } }, - 'Google Font API': { cats: [ 17 ], script: /googleapis.com\/.+webfont/, html: /]* href=("|')http:\/\/fonts\.googleapis\.com/, env: /^WebFont/ }, - 'Google Maps': { cats: [ 5 ], script: /(maps\.google\.com\/maps\?file=api|maps\.google\.com\/maps\/api\/staticmap)/ }, - 'Google Sites': { cats: [ 1 ], url: /sites.google.com/ }, - 'GoStats': { cats: [ 10 ], env: /^_go(stats|_track)/i }, - 'Graffiti CMS': { cats: [ 1 ], meta: { 'generator': /Graffiti CMS/i } }, - 'Gravatar': { cats: [ 19 ], env: /^Gravatar$/ }, - 'Gravity Insights': { cats: [ 10 ], html: /gravityInsightsParams\.site_guid = '/, env: /^GravityInsights$/ }, - 'Handlebars': { cats: [ 12 ], env: /^Handlebars$/ }, - 'Hiawatha': { cats: [ 22 ], headers: { 'Server': /Hiawatha/i } }, - 'Highcharts': { cats: [ 25 ], script: /highcharts.*\.js/, env: /^Highcharts$/ }, - 'Hotaru CMS': { cats: [ 1 ], meta: { 'generator': /Hotaru CMS/i } }, - 'Hybris': { cats: [ 6 ], html: /\/sys_master\/|\/hybr\//, header: { 'Set-Cookie': /_hybris/ }, implies: [ 'Java' ] }, - 'IBM HTTP Server': { cats: [ 22 ], headers: { 'Server': /IBM_HTTP_Server/i } }, - 'IBM WebSphere Portal': { cats: [ 1 ], headers: { 'IBM-Web2-Location': /.*/ }, url: /\/wps\//, implies: [ 'Java' ] }, - 'IBM WebSphere Commerce': { cats: [ 6 ], url: /\/wcs\//, implies: [ 'Java' ] }, - 'IIS': { cats: [ 22 ], headers: { 'Server': /IIS/i }, implies: [ 'Windows Server' ] }, - 'ImpressPages': { cats: [ 1 ], meta: { 'generator': /ImpressPages/i }, implies: [ 'PHP' ] }, - 'Indexhibit': { cats: [ 1 ], html: /<(link|a href) [^>]+ndxz-studio/i, implies: [ 'PHP', 'Apache' ] }, - 'InstantCMS': { cats: [ 1 ], meta: { 'generator': /InstantCMS/i } }, - 'Intershop': { cats: [ 6 ], url: /is-bin|INTERSHOP/i, script: /is-bin|INTERSHOP/i }, - 'IPB': { cats: [ 2 ], script: /jscripts\/ips_/, env: /^IPBoard/, html: /]+ipb_[^>]+\.css/ }, - 'iWeb': { cats: [ 20 ], meta: { 'generator': /iWeb/i } }, - 'Jalios': { cats: [ 1 ], meta: { 'generator': /Jalios/i } }, - 'Java': { cats: [ 27 ], headers: { 'Set-Cookie': /JSESSIONID/ } }, - 'Javascript Infovis Toolkit': { cats: [ 25 ], script: /jit.*\.js/, env: /^\$jit$/ }, - 'Jo': { cats: [ 26, 12 ], env: /^jo(Cache|DOM|Event)$/ }, - 'JobberBase': { cats: [ 19 ], meta: { 'generator': /Jobberbase/i }, env: /^Jobber$/ }, - 'Joomla': { cats: [ 1 ], meta: { 'generator': /Joomla/i }, html: /(]+(feed|components)\/com_)/i, headers: { 'X-Content-Encoded-By': /Joomla/ }, env: /^(jcomments)$/i }, - 'jqPlot': { cats: [ 25 ], script: /jqplot.*\.js/, env: /^jQuery.jqplot$/ }, - 'jQTouch': { cats: [ 26 ], script: /jqtouch.*\.js/i, env:/^jQT$/ }, - 'jQuery': { cats: [ 12 ], script: /jquery.*.js/, env: /^jQuery$/ }, - 'jQuery Mobile': { cats: [ 26 ], script: /jquery\.mobile.*\.js/i }, - 'jQuery Sparklines': { cats: [ 25 ], script: /jquery\.sparkline.*\.js/i }, - 'jQuery UI': { cats: [ 12 ], script: /jquery\-ui.*\.js/, implies: [ 'jQuery' ] }, - 'JS Charts': { cats: [ 25 ], script: /jscharts.*\.js/i, env: /^JSChart$/ }, - 'JTL Shop': { cats: [ 6 ], html: /(]+name=('|")JTLSHOP|]+ alt=("|')Powered by Mantis Bugtracker/i }, - 'MaxSite CMS': { cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, - 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, html: /(]+>Powered by MediaWiki<\/a>|<[^>]+id=("|')t\-specialpages)/i }, - 'Meebo': { cats: [ 5 ], html: /(