From eab3d824efcf5fa46a60960fefed216c2648ba4e Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Sat, 13 Oct 2012 11:29:00 +1100 Subject: [PATCH] Moving apps.js to apps.json --- README.md | 20 +- drivers/bookmarklet/js/apps.js | 1733 -------------------- drivers/bookmarklet/js/wappalyzer.js | 15 +- drivers/bookmarklet/json | 1717 +++++++++++++++++++ {share/js => drivers/chrome}/apps.json | 52 +- drivers/chrome/js/apps.js | 1733 -------------------- drivers/chrome/js/wappalyzer.js | 15 +- drivers/firefox-jetpack/data/apps.json | 1717 +++++++++++++++++++ drivers/firefox-jetpack/lib/apps.js | 1733 -------------------- drivers/firefox-jetpack/lib/wappalyzer.js | 15 +- drivers/firefox/content/apps.json | 1717 +++++++++++++++++++ drivers/firefox/content/js/apps.js | 1733 -------------------- drivers/firefox/content/js/driver.js | 17 + drivers/firefox/content/js/wappalyzer.js | 15 +- drivers/firefox/content/xul/wappalyzer.xul | 1 - drivers/html/apps.json | 1717 +++++++++++++++++++ drivers/html/js/apps.js | 1733 -------------------- drivers/html/js/wappalyzer.js | 15 +- drivers/php/apps.json | 1717 +++++++++++++++++++ drivers/php/js/apps.js | 1733 -------------------- drivers/php/js/wappalyzer.js | 15 +- links.sh | 24 +- share/apps.json | 1717 +++++++++++++++++++ share/js/{apps.js => apps.js.deprecated} | 0 share/js/wappalyzer.js | 15 +- 25 files changed, 10423 insertions(+), 10496 deletions(-) delete mode 100644 drivers/bookmarklet/js/apps.js create mode 100644 drivers/bookmarklet/json rename {share/js => drivers/chrome}/apps.json (98%) delete mode 100644 drivers/chrome/js/apps.js create mode 100644 drivers/firefox-jetpack/data/apps.json delete mode 100644 drivers/firefox-jetpack/lib/apps.js create mode 100644 drivers/firefox/content/apps.json delete mode 100644 drivers/firefox/content/js/apps.js create mode 100644 drivers/html/apps.json delete mode 100644 drivers/html/js/apps.js create mode 100644 drivers/php/apps.json delete mode 100644 drivers/php/js/apps.js create mode 100644 share/apps.json rename share/js/{apps.js => apps.js.deprecated} (100%) diff --git a/README.md b/README.md index e71d1a4a7..5ec16995b 100644 --- a/README.md +++ b/README.md @@ -17,22 +17,22 @@ Contributing **Adding a new application** -* Edit `share/apps.js` +* Edit `share/apps.json` * Add a 16x16 PNG image to `share/images/icons` matching the application name. * Provide the URL to the application's website when submitting a pull request. Example: ```javascript -'Application Name': { - cats: [ 1 ], - headers: { 'X-Powered-By': /Application Name/i }, - url: /.+\.application-name\.com/, - html: /]application-name\.css/, - meta: { 'generator': /Application Name/i }, - script: /application-name\.js/, - env: /ApplicationName/, - implies: [ 'PHP' ] +"Application Name": { + cats: [ "1" ], + headers: { "X-Powered-By": "Application Name" }, + url: ".+\\.application-name\\.com", + html: "]application-name\\.css", + meta: { "generator": "Application Name" }, + script: "application-name\\.js", + env: "ApplicationName", + implies: [ "PHP" ] } ``` diff --git a/drivers/bookmarklet/js/apps.js b/drivers/bookmarklet/js/apps.js deleted file mode 100644 index 923884909..000000000 --- a/drivers/bookmarklet/js/apps.js +++ /dev/null @@ -1,1733 +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', - 30: 'web-mail', - 31: 'cdn' - }; - - 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 } - }, - 'Accessible Portal': { - cats: [ 1 ], - meta: { 'generator': /Accessible Portal/i }, - implies: [ 'PHP' ] - }, - '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$/ - }, - 'CloudFlare': { - cats: [ 31 ], - headers: { 'Server': /cloudflare/i } - }, - '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 ], - script: /concrete\/js\//, - meta: { 'generator': /concrete5/i }, - env: /CCM_IMAGE_PATH/, - implies: [ 'PHP' ] - }, - 'Connect': { - cats: [ 18 ], - headers: { 'X-Powered-By': /^Connect$/i }, - implies: [ 'node.js' ] - }, - '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 ], - html: /_gaq\.push\(\['_setAccount/, - script: /(\.google\-analytics\.com\/ga\.js|google-analytics\.com\/urchin\.js)/, - headers: { 'Set-Cookie': /__utma/ }, - 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\//, - headers: { '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' ] - }, - 'ImpressCMS': { - cats: [ 1 ], - script: /include\/linkexternal\.js/, - meta: { 'generator': /ImpressCMS/ }, - headers: { 'X-Powered-By': /ImpressCMS/ }, - implies: [ 'PHP' ] - }, - '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 ], - url: /option=com_/i, - 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 } - }, - 'MediaElement.js': { - cats: [ 14 ], - env: /^mejs$/ - }, - 'MediaWiki': { - cats: [ 8 ], - meta: { 'generator': /MediaWiki/i }, - html: /(]+>Powered by MediaWiki<\/a>|<[^>]+id=("|')t\-specialpages)/i - }, - 'Meebo': { - cats: [ 5 ], - html: /(