PageSourceSearch

https://appetitomagazine.com/pixel.js

js appetitomagazine.com collected 2026-10-02 18:29:07 UTC 732 bytes, 28 lines download raw bytes

1// https://github.com/vercel/next.js/blob/canary/examples/with-facebook-pixel/public/scripts/pixel.js
2const PIXEL_ID = document.currentScript.getAttribute("data-pixel-id");
3
4function initializeFacebookPixel(f, b, e, v, n, t, s) {
5  if (f.fbq) return;
6  n = f.fbq = function () {
7    n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);
8  };
9  if (!f._fbq) f._fbq = n;
10  n.push = n;
11  n.loaded = !0;
12  n.version = "2.0";
13  n.queue = [];
14  t = b.createElement(e);
15  t.async = !0;
16  t.src = v;
17  s = b.getElementsByTagName(e)[0];
18  s.parentNode.insertBefore(t, s);
19}
20
21initializeFacebookPixel(
22  window,
23  document,
24  "script",
25  "https://connect.facebook.net/en_US/fbevents.js",
26);
27
28window.fbq("init", PIXEL_ID);

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.