PageSourceSearch

https://www.bring.co.uk/_/service/no.posten.reactcommon/react4xp/executor-4SNA5C4H.js

js bring.co.uk collected 2026-10-09 01:00:41 UTC 957 bytes, 33 lines download raw bytes

1// src/executor.ts
2var inlineJsonElements = Array.from(document.querySelectorAll(
3  `script[data-react4xp-app-name="${"no.posten.reactcommon"}"][data-react4xp-ref][type="application/json"]`
4));
5for (let index = 0; index < inlineJsonElements.length; index++) {
6  const inlineJsonElement = inlineJsonElements[index];
7  if (inlineJsonElement instanceof HTMLElement) {
8    const id = inlineJsonElement.dataset["react4xpRef"];
9    const json = inlineJsonElement.textContent;
10    let data = {};
11    try {
12      data = JSON.parse(json);
13    } catch (e) {
14      console.error("Something went wrong while trying to JSON.parse(" + json + ")");
15    }
16    const {
17      command,
18      devMode,
19      hasRegions,
20      isPage,
21      jsxPath,
22      props
23    } = data;
24    globalThis["NoPostenReactcommonReact4xpClient"][command](
25      globalThis["NoPostenReactcommonReact4xp"][jsxPath],
26      id,
27      props,
28      isPage,
29      hasRegions,
30      devMode
31    );
32  }
33}

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.