(function() { if ( wappalyzer == null ) return; var w = wappalyzer; w.driver = { /** * Log messages to console */ log: function(args) { if ( console != null ) console[args.type](args.message); }, /** * Initialize */ init: function() { var env = new Array; for ( var i in top ) env.push(i); window.document.addEventListener('DOMContentLoaded', function() { w.analyze(top.location.host, top.location.href, { html: top.document.documentElement.innerHTML, env: env }); }); }, /** * Display apps */ displayApps: function() { var url = top.location.href; document.getElementById('apps').innerHTML = '' + 'Close' + '' ; if ( w.detected[url] != null && w.detected[url].length ) { w.detected[url].map(function(app, i) { var html = '