|
|
@ -1,4 +1,5 @@
|
|
|
|
/** global: localStorage */
|
|
|
|
/** global: browser */
|
|
|
|
|
|
|
|
/** global: wappalyzer */
|
|
|
|
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
var d = document;
|
|
|
|
var d = document;
|
|
|
@ -7,9 +8,17 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
init: function() {
|
|
|
|
init: function() {
|
|
|
|
options.load();
|
|
|
|
options.load();
|
|
|
|
|
|
|
|
|
|
|
|
d.querySelector('#github' ).addEventListener('click', function() { open(wappalyzer.config.githubURL); });
|
|
|
|
d.querySelector('#github').addEventListener('click', function() {
|
|
|
|
d.querySelector('#twitter' ).addEventListener('click', function() { open(wappalyzer.config.twitterURL); });
|
|
|
|
open(wappalyzer.config.githubURL);
|
|
|
|
d.querySelector('#wappalyzer').addEventListener('click', function() { open(wappalyzer.config.websiteURL); });
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d.querySelector('#twitter').addEventListener('click', function() {
|
|
|
|
|
|
|
|
open(wappalyzer.config.twitterURL);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d.querySelector('#wappalyzer').addEventListener('click', function() {
|
|
|
|
|
|
|
|
open(wappalyzer.config.websiteURL);
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
get: function(name, defaultValue, callback) {
|
|
|
|
get: function(name, defaultValue, callback) {
|
|
|
|