PageSourceSearch

https://rahvaloendus.ee/themes/stat/js/recommy.js

js rahvaloendus.ee collected 2026-09-24 23:48:57 UTC 1,092 bytes, 22 lines download raw bytes

1(() => {
2  const langCode = drupalSettings.path?.currentLanguage;
3  const isLoggedIn = drupalSettings.user && drupalSettings.user.uid > 0;
4
5  if (langCode === "et" && !isLoggedIn) {
6    if (window.RecommyFeedbackWidget) return;
7    var css = new CSSStyleSheet();
8    css.replaceSync("#recommy-box { z-index: 999; left: 24px ! important; bottom: 24px ! important; } @media screen and (max-width: 600px) { #recommy-box { bottom: 130px ! important; } }");
9    document.adoptedStyleSheets.push(css);
10    var n = window.RecommyFeedbackWidget = function () {
11      n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
12    };
13    n.push = n;
14    n.queue = [];
15    var s = document.createElement('script');
16    s.src = 'https://app.recommy.com/Services/Widgets/v3/Widget.ashx?js=1&widget=' + 
17      ((window.location.hostname === "rahvaloendus.ee") ? '2DA82675-4622-4974-8C3B-8C7954F4FD2A' : 'EA03A194-94CC-48D6-BA54-54A70839ABFF') +
18      '&' + new Date().getMilliseconds();
19    var x = document.getElementsByTagName('script')[0];
20    x.parentNode.insertBefore(s, x);
21  }
22})();

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.