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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

100 lines
2.1 KiB

13 years ago
<!DOCTYPE html>
<html>
<head>
13 years ago
<title>Wappalyzer</title>
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
13 years ago
<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>
13 years ago
<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')
;
13 years ago
if ( e !== null ) { d.body.removeChild(e); }
13 years ago
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')
13 years ago
;
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');
13 years ago
s.setAttribute('src', u + 'js/apps.js?' + t);
13 years ago
s.onload = function() {
s = d.createElement('script');
13 years ago
s.setAttribute('src', u + 'js/driver.js?' + t);
13 years ago
c.appendChild(s);
};
13 years ago
c.appendChild(s);
};
13 years ago
c.appendChild(s);
13 years ago
d.body.appendChild(c);
13 years ago
})();
</div>
13 years ago
<script>
$('#bookmarklet').attr('href', 'javascript:' + $('#bookmarklet-code').html().replace(/\s+/g, ' '));
</script>
</body>
</html>