PageSourceSearch

https://www.kitchentuneup.com/dist/sites/ktu/scripts/btuglobal.js?v=5605

js kitchentuneup.com collected 2026-09-28 07:40:15 UTC 1,250 bytes, 49 lines download raw bytes

1const hfcGlobal = (function() {
2  function getSvgSheet() {
3    const ajax = new XMLHttpRequest();
4    ajax.open('GET', '/dist/sites/ktu/images/bathtuneup-svgsheet.svg', true);
5    ajax.onload = function(e) {
6      const div = document.createElement('div');
7      div.innerHTML = ajax.responseText;
8      const svg = div.querySelector('svg');
9      if (svg) {
10        svg.style.height = '0px';
11        document.body.appendChild(svg);
12      }
13    };
14    ajax.send();
15  }
16
17  // function configureAddThis() {
18  //   try {
19  //     window.addthis_config = window.addthis_config || {};
20  //     addthis_config.data_track_clickback = false;
21  //     window.addthis.share();
22  //   } catch (exception) {
23  //     console.log(
24  //       '[hfcGlobal] addthis is not executing correctly!' + exception
25  //     );
26  //   }
27  // }
28
29  function configureLazyLoadForBackgroundImages() {
30    document.addEventListener('lazybeforeunveil', e => {
31      const bg = e.target.getAttribute('data-bg');
32      if (bg) {
33        e.target.style.backgroundImage = `url(${  bg  })`;
34      }
35    });
36  }
37
38  function _init() {
39    getSvgSheet();
40    //configureLazyLoadForBackgroundImages();
41    //configureAddThis();
42  }
43
44  return {
45    init: _init
46  };
47})();
48
49hfcGlobal.init();

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.