-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWebsite Stack - Wappalyzer.js
More file actions
34 lines (34 loc) · 1.03 KB
/
Website Stack - Wappalyzer.js
File metadata and controls
34 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
javascript: (function() {
var d = document,
e = d.getElementById('wappalyzer-container');
if (e !== null) {
d.body.removeChild(e);
}
var u = 'https://www.wappalyzer.com/',
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/bookmarklet.css');
d.head.appendChild(l);
p.setAttribute('id', 'wappalyzer-pending');
p.setAttribute('style', 'background-image: url(' + u + 'images/spinner.gif) !important');
c.appendChild(p);
s.setAttribute('src', u + 'bookmarklet/wappalyzer.js');
s.onload = function() {
window.wappalyzer = new Wappalyzer();
s = d.createElement('script');
s.setAttribute('src', u + 'bookmarklet/apps.js');
s.onload = function() {
s = d.createElement('script');
s.setAttribute('src', u + 'bookmarklet/driver.js');
c.appendChild(s);
};
c.appendChild(s);
};
c.appendChild(s);
d.body.appendChild(c);
})();