PageSourceSearch

https://www.openhands.dev/linkedin-init.js

js openhands.dev collected 2026-10-02 08:04:09 UTC 906 bytes, 31 lines download raw bytes

1/**
2 * LinkedIn Insight Tag Initialization Script
3 * This script registers the LinkedIn Insight partner ID and lazily loads the
4 * Insight Tag (snap.licdn.com) after the critical render path completes.
5 */
6(function () {
7  var partnerId = "10045108";
8  var loaded = false;
9
10  function loadInsightTag() {
11    if (loaded) return;
12    loaded = true;
13
14    var s = document.getElementsByTagName("script")[0];
15    var b = document.createElement("script");
16    b.type = "text/javascript";
17    b.async = true;
18    b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
19    s.parentNode.insertBefore(b, s);
20  }
21
22  window._linkedin_data_partner_ids =
23    window._linkedin_data_partner_ids || [];
24  window._linkedin_data_partner_ids.push(partnerId);
25
26  if (document.readyState === "complete") {
27    loadInsightTag();
28  } else {
29    window.addEventListener("load", loadInsightTag, { once: true });
30  }
31})();

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.