PageSourceSearch

https://beforepatty.com/js/posthog-shim.js

js beforepatty.com collected 2026-10-04 06:13:59 UTC 549 bytes, 16 lines download raw bytes

1(function patchWebkitForPosthog() {
2  if (typeof window === 'undefined') return;
3  var ua = navigator.userAgent || '';
4  var isInApp = /(FBAN|FBAV|Instagram)/i.test(ua);
5
6  if (isInApp) {
7    window.webkit = window.webkit || {};
8    window.webkit.messageHandlers = window.webkit.messageHandlers || {};
9    if (
10      !window.webkit.messageHandlers.posthog ||
11      typeof window.webkit.messageHandlers.posthog.postMessage !== 'function'
12    ) {
13      window.webkit.messageHandlers.posthog = { postMessage: function () {} }; // no-op
14    }
15  }
16})();

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.