You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.1 KiB

<!DOCTYPE html>
<html>
<head>
<title>Wappalyzer</title>
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
<style type="text/css">
body {
color: #333;
font-family: Verdana, Arial, sans-serif;
font-size: 14px;
}
#bookmarklet {
background: #f8f8f8;
border: 1px solid #ccc;
border-radius: 2px;
color: #333;
font-weight: bold;
display: inline-block;
padding: 10px 25px;
text-decoration: none;
}
</style>
</head>
<body>
<p>
Drag this button to your bookmarks toolbar:
</p>
<p>
<a id="bookmarklet" href="javascript: void(0);">Wappalyzer</a>
</p>
<p>
<em>Note: this is a beta version and may stop working at some point. Check back here for a new version if this happens.</em>
</p>
<div id="bookmarklet-code" style="display: none">
(function() {
var
d = document,
e = d.getElementById('wappalyzer-container')
;
if ( e !== null ) { d.body.removeChild(e); }
var
u = 'http://wappalyzer.com/bookmarklet/',
t = new Date().getTime(),
c = d.createElement('div'),
p = d.createElement('div'),
l = d.createElement('link'),
s = d.createElement('script')
;
c.setAttribute('id', 'wappalyzer-container');
l.setAttribute('rel', 'stylesheet');
l.setAttribute('href', u + 'css/wappalyzer.css');
d.head.appendChild(l);
p.setAttribute('id', 'wappalyzer-pending');
p.setAttribute('style', 'background-image: url(' + u + 'images/pending.gif) !important');
c.appendChild(p);
s.setAttribute('src', u + 'js/wappalyzer.js?' + t);
s.onload = function() {
s = d.createElement('script');
s.setAttribute('src', u + 'js/apps.js?' + t);
s.onload = function() {
s = d.createElement('script');
s.setAttribute('src', u + 'js/driver.js?' + t);
c.appendChild(s);
};
c.appendChild(s);
};
c.appendChild(s);
d.body.appendChild(c);
})();
</div>
<script>
$('#bookmarklet').attr('href', 'javascript:' + $('#bookmarklet-code').html().replace(/\s+/g, ' '));
</script>
</body>
</html>