Added options to disable upgrade message in Chrome driver

main
Elbert Alias 12 years ago
parent cb643e9538
commit 55a76712fd

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

@ -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" },

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

@ -1,4 +1,5 @@
var defaults = {
autoAnalyzeHeaders: 0,
upgradeMessage: 1,
tracking: 1
};

@ -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;
}

@ -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 ) {

@ -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": {

@ -23,6 +23,10 @@
<label for="option-auto-analyze-headers"><input id="option-auto-analyze-headers" type="checkbox"> <span data-i18n="optionAutoAnalyzeHeaders"></span></label>
</p>
<p>
<label for="option-upgrade-message"><input id="option-upgrade-message" type="checkbox"> <span data-i18n="optionUpgradeMessage"></span></label>
</p>
<p>
<label for="option-tracking"><input id="option-tracking" type="checkbox"> <span data-i18n="optionTracking"></span></label>
</p>

@ -3,7 +3,7 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>wappalyzer@crunchlabz.com</em:id>
<em:version>2.4.1</em:version>
<em:version>2.4.3</em:version>
<em:type>2</em:type>
<em:unpack>true</em:unpack>

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Loading…
Cancel
Save