Next.js Discord

Discord Forum
","dateCreated":"2025-08-11T20:54:35.158Z","answerCount":0,"author":{"@type":"Person","name":"Wuchang bream"}}}

Weird js script tag in my code

Unanswered
Wuchang bream posted this in #help-forum
Open in Discord
Wuchang breamOP
Hey, what's the reason that I have this in my code?
    <script type="42dc770a9d3724edd77fc0be-text/javascript">
      $RB = [];
      $RV = function(b) {
        $RT = performance.now();
        for (var a = 0; a < b.length; a += 2) {
          var c = b[a],
            e = b[a + 1];
          null !== e.parentNode && e.parentNode.removeChild(e);
          var f = c.parentNode;
          if (f) {
            var g = c.previousSibling,
              h = 0;
            do {
              if (c && 8 === c.nodeType) {
                var d = c.data;
                if ("/$" === d || "/&" === d)
                  if (0 === h) break;
                  else h--;
                else "$" !== d && "$?" !== d && "$~" !== d && "$!" !== d && "&" !== d || h++
              }
              d = c.nextSibling;
              f.removeChild(c);
              c = d
            } while (c);
            for (; e.firstChild;) f.insertBefore(e.firstChild, c);
            g.data = "$";
            g._reactRetry && g._reactRetry()
          }
        }
        b.length = 0
      };
      $RC = function(b, a) {
        if (a = document.getElementById(a))(b = document.getElementById(b)) ? (b.previousSibling.data = "$~", $RB.push(b, a), 2 === $RB.length && (b = "number" !== typeof $RT ? 0 : $RT, a = performance.now(), setTimeout($RV.bind(null, $RB), 2300 > a && 2E3 < a ? 2300 - a : b + 300 - a))) : a.parentNode.removeChild(a)
      };
      $RC("B:0", "S:0")
    </script>

0 Replies