ElbertF 13 years ago
parent d0954b4f81
commit 8e3cffde2d

@ -33,8 +33,8 @@
iframe.setAttribute('id', 'wappalyzer-bookmarklet');
iframe.setAttribute('allowTransparency', 'yes');
iframe.setAttribute('frameborder', 'no');
iframe.setAttribute('height', '400');
iframe.setAttribute('src', 'index.html');
iframe.setAttribute('height', '10');
iframe.setAttribute('src', 'http://wappalyzer.com/bookmarklet/2/index.html');
iframe.setAttribute('width', '220');
iframe.setAttribute('style', '
margin: 0 0 20px 20px;

@ -1,26 +1,30 @@
html {
overflow: hidden;
}
body {
color: #000;
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 1.4em;
line-height: 1.5em;
margin: 0;
padding: 10px 0;
}
#overlay {
background: #000;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 7px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
left: 0;
height: 100%;
opacity: .5; filter: alpha(opacity = 50);
opacity: .2; filter: alpha(opacity = 20);
position: absolute;
top: 0;
width: 100%;
}
#apps {
padding-top: 2px;
position: absolute;
width: 100%;
}
@ -36,7 +40,7 @@ body {
}
#apps a:hover {
color: #f90;
color: #0072B6;
}
#apps .app, #apps #close {
@ -44,7 +48,7 @@ body {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 0 10px 2px 10px;
margin: 0 2px 2px 2px;
padding: 7px 10px;
}
@ -52,6 +56,10 @@ body {
margin-bottom: 3px;
}
#apps .category {
color: #999;
}
#apps #close {
font-size: 12px;
font-weight: bold;

@ -2,6 +2,8 @@
<head>
<link rel="stylesheet" type="text/css" href="css/wappalyzer.css"/>
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
<script type="text/javascript" src="js/wappalyzer.js"></script>
<script type="text/javascript" src="js/apps.js"></script>
<script type="text/javascript" src="js/driver.js"></script>

@ -33,11 +33,7 @@
displayApps: function() {
var url = top.location.href;
document.getElementById('apps').innerHTML =
'<a id="close" href="javascript: top.document.body.removeChild(top.document.getElementById(\'wappalyzer-bookmarklet\')); void(0);">' +
'Close' +
'</a>'
;
$('#apps').html('<a id="close" href="javascript: $(\'#wappalyzer-bookmarklet\', top.document.body).remove();">Close</a>');
if ( w.detected[url] != null && w.detected[url].length ) {
w.detected[url].map(function(app, i) {
@ -59,10 +55,14 @@
}
html += '</div>';
document.getElementById('apps').innerHTML += html;
});
} else {
html = '<div class="app first" style="text-align: center;"><em>No applications detected</em></div>';
}
$('#apps').append(html);
$('#wappalyzer-bookmarklet', top.document.body).height($('#apps').height() + 2);
},
/**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Loading…
Cancel
Save