PageSourceSearch

https://www.ikulecnik.cz/user/documents/upload/css/ikulecnik-homepage-instagram-position-v1.js?v=20260827-1

js ikulecnik.cz collected 2026-10-06 20:12:06 UTC 948 bytes, 41 lines download raw bytes

1(function () {
2  "use strict";
3
4  var homepageSelector = "body.type-index.template-11";
5  var wrapperSelector = ".overall-wrapper";
6  var instagramSelector = ":scope > .instagram-block.js-instagram-block";
7
8  function moveInstagramToBottom(wrapper) {
9    var instagram = wrapper.querySelector(instagramSelector);
10
11    if (!instagram || wrapper.lastElementChild === instagram) {
12      return;
13    }
14
15    wrapper.appendChild(instagram);
16  }
17
18  function init() {
19    if (!document.body.matches(homepageSelector)) {
20      return;
21    }
22
23    var wrapper = document.querySelector(wrapperSelector);
24
25    if (!wrapper) {
26      return;
27    }
28
29    moveInstagramToBottom(wrapper);
30
31    new MutationObserver(function () {
32      moveInstagramToBottom(wrapper);
33    }).observe(wrapper, { childList: true });
34  }
35
36  if (document.readyState === "loading") {
37    document.addEventListener("DOMContentLoaded", init, { once: true });
38  } else {
39    init();
40  }
41})();

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.