PageSourceSearch

https://www.habermann.info/wp-content/themes/thegem/js/svg4everybody.js?ver=b743946425b70d97de554e535250170b

js habermann.info collected 2026-10-07 04:42:30 UTC 1,160 bytes, 45 lines download raw bytes

1(function (document, navigator, CACHE, IE9TO11) {
2  if (IE9TO11) document.addEventListener('DOMContentLoaded', function () {
3    [].forEach.call(document.querySelectorAll('use'), function (use) {
4      var
5      svg = use.parentNode,
6      url = use.getAttribute('xlink:href').split('#'),
7      url_root = url[0],
8      url_hash = url[1],
9      xhr = CACHE[url_root] = CACHE[url_root] || new XMLHttpRequest();
10
11      if (!xhr.s) {
12        xhr.s = [];
13
14        xhr.open('GET', url_root);
15
16        xhr.onload = function () {
17          var x = document.createElement('x'), s = xhr.s;
18
19          x.innerHTML = xhr.responseText;
20
21          xhr.onload = function () {
22            s.splice(0).map(function (array) {
23              var g = x.querySelector('#' + array[2]);
24
25              if (g) array[0].replaceChild(g.cloneNode(true), array[1]);
26            });
27          };
28
29          xhr.onload();
30        };
31
32        xhr.send();
33      }
34
35      xhr.s.push([svg, use, url_hash]);
36
37      if (xhr.responseText) xhr.onload();
38    });
39  });
40})(
41  document,
42  navigator,
43  {},
44  /Trident\/[567]\b/.test(navigator.userAgent)
45);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.