Added package shell script

main
Elbert Alias 12 years ago
parent 3743535657
commit a3e0a3b26b

2
.gitignore vendored

@ -0,0 +1,2 @@
wappalyzer-chrome.zip
wappalyzer-firefox.xpi

@ -1 +0,0 @@
chrome.zip

@ -96,7 +96,7 @@
},
goToURL: function(args) {
window.open(args.url + '?utm_source=firefox&utm_medium=extension&utm_campaign=extensions');
window.open(args.url + '?utm_source=chrome&utm_medium=extension&utm_campaign=extensions');
},
/**

@ -7,7 +7,7 @@ $(function() {
$('#github' ).click(function() { window.open(wappalyzer.config.githubURL); });
$('#twitter' ).click(function() { window.open(wappalyzer.config.twitterURL); });
$('#wappalyzer').click(function() { window.open(wappalyzer.config.websiteURL); });
$('#wappalyzer').click(function() { window.open(wappalyzer.config.websiteURL + '?utm_source=chrome&utm_medium=extension&utm_campaign=extensions'); });
$('#options-save').click(options.save);
},

@ -53,14 +53,14 @@ var wappalyzer = {};
response.tabCache.appsDetected.map(function(appName) {
html =
'<div class="detected-app">' +
'<a target="_blank" href="http://wappalyzer.com/applications/' + appName.toLowerCase().replace(/ /g, '-').replace(/[^\w-]/g, '') + '">' +
'<a target="_blank" href="http://wappalyzer.com/applications/' + appName.toLowerCase().replace(/ /g, '-').replace(/[^\w-]/g, '') + '?utm_source=chrome&utm_medium=extension&utm_campaign=extensions">' +
'<img src="images/icons/' + appName + '.png"/>' +
'<span class="label">' + appName + '</span>' +
'</a>';
wappalyzer.apps[appName].cats.map(function(cat) {
html +=
'<a target="_blank" href="http://wappalyzer.com/categories/' + wappalyzer.categories[cat] + '">' +
'<a target="_blank" href="http://wappalyzer.com/categories/' + wappalyzer.categories[cat] + '?utm_source=chrome&utm_medium=extension&utm_campaign=extensions">' +
'<span class="category">' + chrome.i18n.getMessage('categoryName' + cat) + '</span>' +
'</a>';
});

@ -1,7 +1,7 @@
{ "name": "Wappalyzer",
"homepage_url": "http://wappalyzer.com",
"homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions",
"description": "Identifies software on the web",
"version": "2.6",
"version": "2.9",
"default_locale": "en",
"manifest_version": 2,
"icons": {

@ -1 +0,0 @@
wappalyzer.xpi

@ -5,7 +5,7 @@
<!DOCTYPE overlay SYSTEM "chrome://wappalyzer/locale/wappalyzer.dtd">
<prefwindow id="wappalyzer-options" title="&wappalyzer.name; - &wappalyzer.categories;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefwindow id="wappalyzer-options" title="&wappalyzer.name; - &wappalyzer.preferences;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane>
<preferences>
<preference id="wappalyzer-icons" name="extensions.wappalyzer.showIcons" type="bool"/>

@ -0,0 +1,8 @@
#!/bin/sh
path=`pwd`
./links.sh
cd $path/drivers/chrome && zip -ro $path/wappalyzer-chrome.zip .
cd $path/drivers/firefox && zip -ro $path/wappalyzer-firefox.xpi .