From 55a76712fddd1f6ead9b3c573bbbe614f63ad04a Mon Sep 17 00:00:00 2001
From: Elbert Alias
Date: Wed, 10 Oct 2012 18:27:15 +1100
Subject: [PATCH] Added options to disable upgrade message in Chrome driver
---
drivers/bookmarklet/images/icons/RackCache.png | Bin 0 -> 350 bytes
drivers/chrome/_locales/en/messages.json | 1 +
drivers/chrome/images/icons/RackCache.png | Bin 0 -> 350 bytes
drivers/chrome/js/defaults.js | 1 +
drivers/chrome/js/driver.js | 2 +-
drivers/chrome/js/options.js | 5 +++++
drivers/chrome/manifest.json | 2 +-
drivers/chrome/options.html | 4 ++++
drivers/firefox/install.rdf | 2 +-
drivers/firefox/skin/images/icons/RackCache.png | Bin 0 -> 350 bytes
drivers/html/images/icons/RackCache.png | Bin 0 -> 350 bytes
share/images/icons/RackCache.png | Bin 0 -> 350 bytes
12 files changed, 14 insertions(+), 3 deletions(-)
create mode 100644 drivers/bookmarklet/images/icons/RackCache.png
create mode 100644 drivers/chrome/images/icons/RackCache.png
create mode 100644 drivers/firefox/skin/images/icons/RackCache.png
create mode 100644 drivers/html/images/icons/RackCache.png
create mode 100644 share/images/icons/RackCache.png
diff --git a/drivers/bookmarklet/images/icons/RackCache.png b/drivers/bookmarklet/images/icons/RackCache.png
new file mode 100644
index 0000000000000000000000000000000000000000..67c4b8a23b48bfc4ce6f1405e211ee554fa9d116
GIT binary patch
literal 350
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4@xYmNj^kiEpy*OmPa7b~X^>ZI8f-dr;B5V#p$J&_v^I;3b1~-uOsB>
zyeP;k#ARgwhyH?(IyTKNCS0B36IQ5lbspRAw0`;;w}r}!3}$KC$!C{up6rwN?9R!P
zcZ%P+q)DkByY1kjlO!9z30{e`)qEYA*A*5wVoBw+YFwrelF{r5}E)YuZXn(
literal 0
HcmV?d00001
diff --git a/drivers/chrome/_locales/en/messages.json b/drivers/chrome/_locales/en/messages.json
index 79028e2ac..47d150b2f 100644
--- a/drivers/chrome/_locales/en/messages.json
+++ b/drivers/chrome/_locales/en/messages.json
@@ -6,6 +6,7 @@
"optionsSave": { "message": "Save options" },
"optionsSaved": { "message": "Saved" },
"optionAutoAnalyzeHeaders": { "message": "Analyze headers automatically on click" },
+ "optionUpgradeMessage": { "message": "Tell me about upgrades" },
"optionTracking": { "message": "Anonymously send reports on detected applications to wappalyzer.com for research" },
"analyzeHeaders": { "message": "Analyze headers" },
"analyzeHeadersDone": { "message": "Completed" },
diff --git a/drivers/chrome/images/icons/RackCache.png b/drivers/chrome/images/icons/RackCache.png
new file mode 100644
index 0000000000000000000000000000000000000000..67c4b8a23b48bfc4ce6f1405e211ee554fa9d116
GIT binary patch
literal 350
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4@xYmNj^kiEpy*OmPa7b~X^>ZI8f-dr;B5V#p$J&_v^I;3b1~-uOsB>
zyeP;k#ARgwhyH?(IyTKNCS0B36IQ5lbspRAw0`;;w}r}!3}$KC$!C{up6rwN?9R!P
zcZ%P+q)DkByY1kjlO!9z30{e`)qEYA*A*5wVoBw+YFwrelF{r5}E)YuZXn(
literal 0
HcmV?d00001
diff --git a/drivers/chrome/js/defaults.js b/drivers/chrome/js/defaults.js
index 68ccb5955..3ec2d3e09 100644
--- a/drivers/chrome/js/defaults.js
+++ b/drivers/chrome/js/defaults.js
@@ -1,4 +1,5 @@
var defaults = {
autoAnalyzeHeaders: 0,
+ upgradeMessage: 1,
tracking: 1
};
diff --git a/drivers/chrome/js/driver.js b/drivers/chrome/js/driver.js
index f920af324..6d867372c 100644
--- a/drivers/chrome/js/driver.js
+++ b/drivers/chrome/js/driver.js
@@ -34,7 +34,7 @@
for ( option in defaults ) {
localStorage[option] = defaults[option];
}
- } else if ( version !== localStorage['version'] ) {
+ } else if ( version !== localStorage['version'] && localStorage['upgradeMessage'] ) {
w.config.upgraded = true;
}
diff --git a/drivers/chrome/js/options.js b/drivers/chrome/js/options.js
index 6a9456dde..6e42984b2 100644
--- a/drivers/chrome/js/options.js
+++ b/drivers/chrome/js/options.js
@@ -23,6 +23,10 @@ $(function() {
$('#option-auto-analyze-headers').attr('checked', 'checked');
}
+ if ( parseInt(options.opts.upgradeMessage) ) {
+ $('#option-upgrade-message').attr('checked', 'checked');
+ }
+
if ( parseInt(options.opts.tracking) ) {
$('#option-tracking').attr('checked', 'checked');
}
@@ -30,6 +34,7 @@ $(function() {
save: function() {
options.opts.autoAnalyzeHeaders = $('#option-auto-analyze-headers').is(':checked') ? 1 : 0;
+ options.opts.upgradeMessage = $('#option-upgrade-message' ).is(':checked') ? 1 : 0;
options.opts.tracking = $('#option-tracking' ).is(':checked') ? 1 : 0;
for ( option in options.opts ) {
diff --git a/drivers/chrome/manifest.json b/drivers/chrome/manifest.json
index 6ec2598a4..1385c724d 100644
--- a/drivers/chrome/manifest.json
+++ b/drivers/chrome/manifest.json
@@ -1,7 +1,7 @@
{ "name": "Wappalyzer",
"homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions",
"description": "Identifies software on the web",
- "version": "2.10",
+ "version": "2.13",
"default_locale": "en",
"manifest_version": 2,
"icons": {
diff --git a/drivers/chrome/options.html b/drivers/chrome/options.html
index 96cc730d4..f6112319e 100644
--- a/drivers/chrome/options.html
+++ b/drivers/chrome/options.html
@@ -23,6 +23,10 @@
+
+
+
+
diff --git a/drivers/firefox/install.rdf b/drivers/firefox/install.rdf
index c5fa1294d..ae53c3f58 100644
--- a/drivers/firefox/install.rdf
+++ b/drivers/firefox/install.rdf
@@ -3,7 +3,7 @@
wappalyzer@crunchlabz.com
- 2.4.1
+ 2.4.3
2
true
diff --git a/drivers/firefox/skin/images/icons/RackCache.png b/drivers/firefox/skin/images/icons/RackCache.png
new file mode 100644
index 0000000000000000000000000000000000000000..67c4b8a23b48bfc4ce6f1405e211ee554fa9d116
GIT binary patch
literal 350
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4@xYmNj^kiEpy*OmPa7b~X^>ZI8f-dr;B5V#p$J&_v^I;3b1~-uOsB>
zyeP;k#ARgwhyH?(IyTKNCS0B36IQ5lbspRAw0`;;w}r}!3}$KC$!C{up6rwN?9R!P
zcZ%P+q)DkByY1kjlO!9z30{e`)qEYA*A*5wVoBw+YFwrelF{r5}E)YuZXn(
literal 0
HcmV?d00001
diff --git a/drivers/html/images/icons/RackCache.png b/drivers/html/images/icons/RackCache.png
new file mode 100644
index 0000000000000000000000000000000000000000..67c4b8a23b48bfc4ce6f1405e211ee554fa9d116
GIT binary patch
literal 350
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4@xYmNj^kiEpy*OmPa7b~X^>ZI8f-dr;B5V#p$J&_v^I;3b1~-uOsB>
zyeP;k#ARgwhyH?(IyTKNCS0B36IQ5lbspRAw0`;;w}r}!3}$KC$!C{up6rwN?9R!P
zcZ%P+q)DkByY1kjlO!9z30{e`)qEYA*A*5wVoBw+YFwrelF{r5}E)YuZXn(
literal 0
HcmV?d00001
diff --git a/share/images/icons/RackCache.png b/share/images/icons/RackCache.png
new file mode 100644
index 0000000000000000000000000000000000000000..67c4b8a23b48bfc4ce6f1405e211ee554fa9d116
GIT binary patch
literal 350
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4@xYmNj^kiEpy*OmPa7b~X^>ZI8f-dr;B5V#p$J&_v^I;3b1~-uOsB>
zyeP;k#ARgwhyH?(IyTKNCS0B36IQ5lbspRAw0`;;w}r}!3}$KC$!C{up6rwN?9R!P
zcZ%P+q)DkByY1kjlO!9z30{e`)qEYA*A*5wVoBw+YFwrelF{r5}E)YuZXn(
literal 0
HcmV?d00001