Merge pull request #13 from AliasIO/master

update
main
֍ DaAwesomeP ֎ 8 years ago committed by GitHub
commit 018a01f2f5

@ -2218,23 +2218,6 @@
"icon": "ESERV-10.png",
"website": "http://www.violasystems.com"
},
"Etherpad": {
"cats": [
24
],
"headers": {
"Server": "^Etherpad"
},
"env": [
"^pad(?:editbar|impexp)$"
],
"script": [
"/ep_etherpad-lite/"
],
"icon": "etherpad.png",
"implies": "Node.js",
"website": "https://etherpad.org"
},
"EWS-NIC4": {
"cats": [
22
@ -2282,15 +2265,6 @@
},
"website": "http://eleanor-cms.ru"
},
"Elm": {
"cats": [
27,
12
],
"env": "^Elm$",
"icon": "Elm.png",
"website": "http://elm-lang.org"
},
"Eloqua": {
"cats": [
32
@ -2368,6 +2342,23 @@
"icon": "Erlang.png",
"website": "http://www.erlang.org"
},
"Etherpad": {
"cats": [
24
],
"env": [
"^pad(?:editbar|impexp)$"
],
"headers": {
"Server": "^Etherpad"
},
"icon": "etherpad.png",
"implies": "Node.js",
"script": [
"/ep_etherpad-lite/"
],
"website": "https://etherpad.org"
},
"Exagon Concept": {
"cats": [
1
@ -2867,6 +2858,13 @@
"icon": "Glyphicons.png",
"website": "http://glyphicons.com"
},
"Go": {
"cats": [
27
],
"icon": "Go.svg",
"website": "https://golang.org"
},
"GoAhead": {
"cats": [
22
@ -4534,6 +4532,9 @@
],
"icon": "MODX.png",
"implies": "PHP",
"meta": {
"generator": "MODX[^\\d.]*([\\d.]+)?\\;version:\\1"
},
"website": "http://modx.com"
},
"MadAdsMedia": {
@ -4704,8 +4705,7 @@
"implies": [
"MongoDB",
"Express",
"AngularJS",
"Node.js"
"AngularJS"
],
"website": "http://mean.io"
},
@ -5280,7 +5280,7 @@
"cats": [
18
],
"env": "Nette",
"env": "^Nette$",
"headers": {
"Set-Cookie": "nette-browser=",
"X-Powered-By": "Nette Framework"
@ -6768,10 +6768,7 @@
"X-Powered-By": "^Sails$"
},
"icon": "Sails.js.svg",
"implies": [
"Node.js",
"Express"
],
"implies": "Express",
"website": "http://sailsjs.org"
},
"Sarka-SPIP": {
@ -7804,6 +7801,18 @@
"script": "tracker.js",
"website": "http://trackjs.com"
},
"Translucide": {
"cats": [
1
],
"implies": [
"PHP",
"jQuery"
],
"icon": "translucide.svg",
"script": "lucide\\.init\\.js",
"website": "http://www.translucide.net"
},
"Tumblr": {
"cats": [
11

@ -9,7 +9,7 @@
var
w = wappalyzer,
debug = true
debug = true,
d = window.document,
container = d.getElementById('wappalyzer-container'),
domain = window.top.location.host,

@ -1,14 +1,14 @@
{
"github": { "message": "Forker Wappalyzer sur GitHub!" },
"noAppsDetected": { "message": "Pas d'applications détectées." },
"github": { "message": "Forker Wappalyzer sur GitHub !" },
"noAppsDetected": { "message": "Aucune application détectée." },
"nothingToDo": { "message": "Rien à faire ici." },
"optionTracking": { "message": "Envoyer anonymement des rapports sur les applications détectées à wappalyzer.com pour la recherche" },
"optionUpgradeMessage": { "message": "M'afficher les mises à jour" },
"optionTracking": { "message": "Envoyer anonymement des rapports sur les applications détectées à wappalyzer.com pour recherche" },
"optionUpgradeMessage": { "message": "M'informer des mises à jour" },
"options": { "message": "Options de Wappalyzer" },
"optionsSave": { "message": "Sauver les options" },
"optionsSaved": { "message": "Sauvé" },
"optionsSave": { "message": "Sauvegarder les options" },
"optionsSaved": { "message": "Sauvegardé" },
"twitter": { "message": "Suivre Wappalyzer sur Twitter" },
"website": { "message": "Aller à wappalyzer.com" },
"website": { "message": "Aller sur wappalyzer.com" },
"categoryName1": { "message": "CMS" },
"categoryName2": { "message": "Forum" },
"categoryName3": { "message": "Gestionnaire de base de données" },

@ -1,9 +1,8 @@
document.addEventListener('DOMContentLoaded', function() {
var
i, value,
d = document
nodes = d.getElementsByTagName('*')
;
d = document,
nodes = d.getElementsByTagName('*');
for ( i = 0; i < nodes.length; i ++ ) {
if ( attr = nodes[i].dataset.i18n ) {

@ -1,6 +1,7 @@
(function() {
try {
var i, environmentVars, e = document.createEvent('Events');
var i, environmentVars,
e = document.createEvent('Events');
e.initEvent('wappalyzerEvent', true, false);

@ -37,7 +37,7 @@ document.addEventListener('DOMContentLoaded', function() {
confidence = response.tabCache.appsDetected[appName].confidenceTotal;
version = response.tabCache.appsDetected[appName].version;
html =
var html =
'<div class="detected-app">' +
'<a target="_blank" href="https://wappalyzer.com/applications/' + slugify(appName) + '?pk_campaign=chrome&pk_kwd=popup">' +
'<img src="images/icons/' + response.apps[appName].icon + '"/>' +

@ -1,7 +1,7 @@
(function() {
self.port.on('displayApps', function(message) {
var
div, a, img, label, name, slugify,
div, a, img, label, name, slugify, confidence, version,
d = document,
detectedApps = d.getElementById('detected-apps'),
empty = d.getElementById('empty');
@ -52,8 +52,8 @@
label.appendChild(name);
label.appendChild(d.createTextNode(( version ? ' ' + version : '' ) + ( confidence < 100 ? ' (' + confidence + '% sure)' : '')));
a.appendChild(img)
a.appendChild(label)
a.appendChild(img);
a.appendChild(label);
div.appendChild(a);

@ -4,8 +4,8 @@
try {
if ( document && document.contentType === 'text/html' ) {
var
html = new XMLSerializer().serializeToString(document)
env = [];
html = new XMLSerializer().serializeToString(document),
env = []; // TODO: Remove, `env` not used in this scope?
self.port.emit('log', html);

@ -5,8 +5,8 @@
scriptDir,
scriptPath = require('fs').absolute(require('system').args[0]),
resourceTimeout = 9000,
args = [],
debug = false; // Output debug messages
args = [], // TODO: Not used, maybe should be `arg`
debug = false, // Output debug messages
quiet = false; // Don't output errors
try {

@ -84,7 +84,7 @@ a:active {
#about {
border-top: 1px solid #dbdbdb;
margin-top: 2.5rem;
padding: 1.5rem 0 1.5rem 0;
padding: 1.5rem 0 0 0;
}
#about img {

@ -75,22 +75,3 @@ img {
font-style: italic;
text-align: center;
}
#footer {
border-top: 1px solid #ccc;
margin-top: 17px;
overflow: hidden;
padding-top: 11px;
}
#footer a {
text-decoration: none;
}
#footer a:hover {
border-bottom: 1px solid #dbdbdb;
}
#options {
float: right;
}

@ -64,52 +64,10 @@
localStorage['version'] = version;
} catch(e) { }
function newMsg(message, sender, sendResponse) {
var
hostname,
a = document.createElement('a');
if ( typeof message.id != 'undefined' ) {
w.log('message: ' + message.id);
switch ( message.id ) {
case 'log':
w.log(message.message);
break;
case 'analyze':
tab = sender.tab;
a.href = tab.url.replace(/#.*$/, '');
hostname = a.hostname;
if ( headersCache[a.href] !== undefined ) {
message.subject.headers = headersCache[a.href];
}
w.analyze(hostname, a.href, message.subject);
break;
case 'ad_log':
w.adCache.push(message.subject);
break;
case 'get_apps':
sendResponse({
tabCache: tabCache[message.tab.id],
apps: w.apps,
categories: w.categories
});
break;
}
}
}
if (typeof chrome === "undefined") {
browser.runtime.onMessage.addListener(newMsg);
if ( typeof chrome === 'undefined' ) {
browser.runtime.onMessage.addListener(w.driver.onMessage);
} else {
chrome.runtime.onMessage.addListener(newMsg);
chrome.runtime.onMessage.addListener(w.driver.onMessage);
}
browser.tabs.query({}).then(function(tabs) {
@ -168,6 +126,49 @@
}
},
onMessage: function(message, sender, sendResponse) {
var
hostname,
a = document.createElement('a');
if ( typeof message.id != 'undefined' ) {
w.log('message: ' + message.id);
switch ( message.id ) {
case 'log':
w.log(message.message);
break;
case 'analyze':
tab = sender.tab;
a.href = tab.url.replace(/#.*$/, '');
hostname = a.hostname;
if ( headersCache[a.href] !== undefined ) {
message.subject.headers = headersCache[a.href];
}
w.analyze(hostname, a.href, message.subject);
break;
case 'ad_log':
w.adCache.push(message.subject);
break;
case 'get_apps':
sendResponse({
tabCache: tabCache[message.tab.id],
apps: w.apps,
categories: w.categories
});
break;
}
}
},
goToURL: function(args) {
var url = args.url + ( typeof args.medium === 'undefined' ? '' : '?pk_campaign=chrome&pk_kwd=' + args.medium);

@ -10,11 +10,6 @@ document.addEventListener('DOMContentLoaded', function() {
popup = {
init: function() {
d.getElementById('options').addEventListener('click', function() {
window.open(browser.extension.getURL('options.html'));
});
browser.tabs.query({ active: true }).then(function(tabs) {
if ( tabs[0].url.match(/https?:\/\//) ) {
detectedApps.innerHTML = '<div class="empty">' + browser.i18n.getMessage('noAppsDetected') + '</div>';

@ -13,9 +13,5 @@
</head>
<body>
<div id="detected-apps"></div>
<div id="footer">
<a href="javascript: void(0);" data-i18n="options" id="options">Options</a>
</div>
</body>
</html>

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128" overflow="visible"><g clip-rule="evenodd"><path d="M17.42 102.92c.186 3.843 4.025 2.065 5.764.864 1.65-1.14 2.133-.193 2.278-2.444.095-1.48.266-2.96.182-4.444-2.496-.226-5.21.368-7.257 1.855-1.054.767-3.03 3.21-.967 4.17" fill="#f6d2a2" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M17.42 102.92c.56-.207 1.15-.355 1.53-.86" fill="#c6b198" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M26.292 57.14c-14.71-4.136-3.772-22.85 8.04-15.153l-8.04 15.154zm65.36-16.558c11.645-8.178 22.167 10.274 8.634 14.917L91.652 40.58z" fill="#6ad7e5" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M94.157 150.215c2.958 1.83 8.364 7.364 3.927 10.047-4.263 3.903-6.65-4.284-10.39-5.42 1.61-2.187 3.653-4.183 6.463-4.627z" fill="#f6d2a2" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M98.084 160.262c-.658-1.308-.88-2.835-1.977-3.89" stroke="#000" stroke-width=".732" stroke-linecap="round" fill="none"/><path d="M41.316 156.47c-3.47.536-5.425 3.668-8.32 5.258-2.726 1.626-3.77-.52-4.015-.956-.427-.195-.39.18-1.05-.483-2.53-3.99 2.634-6.907 5.322-8.89 3.744-.756 6.09 2.49 8.064 5.07z" fill="#f6d2a2" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M28.98 160.772c.133-1.52 1.34-2.54 1.913-3.825" stroke="#000" stroke-width=".732" stroke-linecap="round" fill="none"/><path d="M26.906 51.972c-1.94-1.027-3.365-2.42-2.178-4.666 1.1-2.078 3.14-1.852 5.082-.826l-2.904 5.492zM97.22 50.02c1.94-1.027 3.365-2.42 2.178-4.666-1.1-2.078-3.14-1.852-5.082-.826l2.904 5.492z" fill-rule="evenodd"/><path d="M110.58 102.432c-.186 3.843-4.025 2.065-5.764.864-1.65-1.14-2.133-.193-2.278-2.444-.095-1.48-.266-2.958-.182-4.444 2.496-.226 5.21.368 7.257 1.855 1.054.766 3.03 3.21.967 4.17" fill="#f6d2a2" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M110.58 102.432c-.56-.207-1.15-.355-1.53-.86" fill="#c6b198" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M62.53 32.81c14.73 0 28.537 2.106 35.735 16.257 6.46 15.86 4.163 32.965 5.15 49.728.845 14.394 2.72 31.024-3.957 44.363-7.024 14.033-24.578 17.563-39.04 17.046-11.36-.406-25.08-4.112-31.492-14.49-7.522-12.176-3.96-30.28-3.415-43.83.648-16.047-4.346-32.144.926-47.847 5.47-16.29 20.22-19.972 36.095-21.228" fill="#6ad7e5" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><path d="M65.126 52.58c2.644 15.37 27.77 11.307 24.16-4.195-3.235-13.902-25.04-10.054-24.16 4.195" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-width=".709" stroke-linecap="round"/><path d="M35.1 55.066c3.428 13.382 24.853 9.956 24.046-3.467-.968-16.078-27.322-12.976-24.045 3.466" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-width=".688" stroke-linecap="round"/><path d="M68.157 71.025c.01 2 .454 4.242.076 6.368-.51.964-1.51 1.066-2.373 1.456a3.493 3.493 0 0 1-2.675-2.087c-.306-2.427.114-4.777.192-7.204l4.78 1.465z" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><g transform="matrix(.244 0 0 .244 14.833 29.609)" fill-rule="evenodd"><ellipse ry="16.062" rx="14.829" cy="95.404" cx="107.324"/><ellipse ry="4.082" rx="3.496" cy="99.029" cx="114.069" fill="#fff"/></g><g transform="matrix(.244 0 0 .244 14.833 29.609)" fill-rule="evenodd"><ellipse ry="16.062" rx="14.582" cy="91.404" cx="231.571"/><ellipse ry="4.082" rx="3.438" cy="95.029" cx="238.204" fill="#fff"/></g><path d="M57.818 70.808c-1.578 3.825.88 11.475 5.164 5.833-.307-2.426.114-4.775.19-7.203l-5.354 1.37z" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-width=".732" stroke-linecap="round"/><g fill-rule="evenodd"><path d="M58.363 63.443c-2.942.25-5.347 3.75-3.817 6.517 2.025 3.666 6.548-.324 9.364.05 3.242.066 5.897 3.427 8.5.607 2.897-3.136-1.246-6.19-4.483-7.556l-9.564.383z" fill="#f6d2a2" stroke="#231f20" stroke-width=".732" stroke-linecap="round"/><path d="M57.993 63.29c-.218-5.097 9.5-5.735 10.648-1.468 1.146 4.257-10.17 5.246-10.647 1.468-.382-3.017 0 0 0 0z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 492.871 492.871" style="enable-background:new 0 0 492.871 492.871;" xml:space="preserve" width="512px" height="512px">
<path d="M397.502,402.607l-45.2-60.268c-2.902-3.869-4.5-8.664-4.5-13.5V183.871h9.042c11.3,0,20.494-9.193,20.494-20.494 c0-10.962-8.652-19.941-19.485-20.47v-31.489C357.854,49.982,307.872,0,246.436,0S135.017,49.982,135.017,111.418v31.489 c-10.833,0.528-19.485,9.508-19.485,20.47c0,11.3,9.194,20.494,20.494,20.494h9.042v144.968c0,4.836-1.598,9.631-4.5,13.5 l-45.2,60.268c-2.485,3.314-1.813,8.015,1.5,10.5c1.349,1.012,2.928,1.5,4.494,1.5c2.28,0,4.533-1.036,6.006-3l45.2-60.268 c4.836-6.449,7.5-14.439,7.5-22.5V183.871h27.667v197.375c0,5.788-1.156,11.42-3.436,16.74l-21.558,50.307 c-1.632,3.807,0.132,8.216,3.939,9.848c0.963,0.413,1.965,0.608,2.951,0.608c2.91,0,5.679-1.704,6.897-4.548l21.558-50.307 c3.084-7.198,4.648-14.818,4.648-22.648V183.871h36.2v301.5c0,4.142,3.358,7.5,7.5,7.5s7.5-3.358,7.5-7.5v-301.5h36.2v197.375 c0,7.831,1.564,15.451,4.648,22.648l21.558,50.307c1.219,2.844,3.987,4.548,6.897,4.548c0.986,0,1.987-0.195,2.951-0.608 c3.807-1.631,5.571-6.041,3.939-9.848l-21.558-50.307c-2.28-5.32-3.436-10.952-3.436-16.74V183.871h27.667v144.968 c0,8.061,2.664,16.051,7.5,22.5l45.2,60.268c1.474,1.965,3.726,3,6.006,3c1.565,0,3.145-0.489,4.494-1.5 C399.316,410.622,399.988,405.921,397.502,402.607z M130.532,163.377c0-3.029,2.465-5.494,5.494-5.494h6.491h172.185 c4.142,0,7.5-3.358,7.5-7.5s-3.358-7.5-7.5-7.5H150.017v-31.465C150.017,58.253,193.27,15,246.436,15s96.418,43.253,96.418,96.418 v38.965c0,4.142,3.358,7.5,7.5,7.5h6.491c3.029,0,5.494,2.465,5.494,5.494s-2.465,5.494-5.494,5.494H136.026 C132.997,168.871,130.532,166.407,130.532,163.377z M324.749,118.918c-4.142,0-7.5-3.358-7.5-7.5 c0-39.046-31.767-70.813-70.813-70.813c-4.142,0-7.5-3.358-7.5-7.5s3.358-7.5,7.5-7.5c47.317,0,85.813,38.496,85.813,85.813 C332.249,115.561,328.891,118.918,324.749,118.918z" fill="#2f707b"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

Loading…
Cancel
Save