PageSourceSearch

https://bruce.parqet.com/js/script.exclusions.js

js parqet.com collected 2026-09-25 20:37:10 UTC 3,153 bytes, 1 lines download raw bytes

1!function(){var t,e,n,i,o=document.currentScript,a={};function r(t,e,n){window.fetch&&fetch(t,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(e)}).then(function(t){n&&n.callback&&n.callback({status:t.status})}).catch(function(t){n&&n.callback&&n.callback({error:t})})}var c=!1,l={},d=-1,u=0,s=0;function w(){var o=v();if(!t&&(d<i||o>=3e3)){d=i;var c={n:"engagement",sd:Math.round(i/n*100),d:a.domain,u:e,p:l,e:o,v:36};u=0,s=0,r(a.endpoint,c)}}function p(){"visible"===document.visibilityState&&document.hasFocus()&&0===u?u=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=v(),u=0,w())}function v(){return u?s+(Date.now()-u):s}function f(){var t=document.body||{},e=document.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function g(){var t,e;return t=window.innerHeight,e=window.scrollY,n<=t?n:e+t}function h(v,h){var b="pageview"===v;if(b&&c&&(w(),n=f(),i=g()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||"file:"===location.protocol)return m(v,h,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return m(v,h);try{if("true"===window.localStorage.plausible_ignore)return m(v,h,"localStorage flag")}catch(t){}var y=o&&o.getAttribute("data-include"),S=o&&o.getAttribute("data-exclude");function E(t){return location.pathname.match(RegExp("^"+t.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(b){var L=!y||y&&y.split(",").some(E),k=S&&S.split(",").some(E);if(!L||k)return m(v,h,"exclusion rule")}var H={};H.n=v,H.v=36,H.u=location.href,H.d=a.domain,H.r=document.referrer||null,h&&h.meta&&(H.m=JSON.stringify(h.meta)),h&&h.props&&(H.p=h.props),h&&!1===h.interactive&&(H.i=!1),b&&(t=!1,e=H.u,l=H.p,d=-1,s=0,u=Date.now(),c||(document.addEventListener("visibilitychange",p),window.addEventListener("blur",p),window.addEventListener("focus",p),c=!0)),r(a.endpoint,H,h)}function m(e,n,i){i&&a.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===e&&(t=!0)}!function t(e){a.endpoint=o.getAttribute("data-api")||new URL(o.src).origin+"/api/event",a.domain=o.getAttribute("data-domain"),a.logging=!0,n=f(),i=g(),new ResizeObserver(function(){n=f()}).observe(document.documentElement),document.addEventListener("scroll",function(){var t=g();t>i&&(i=t)}),function(t){function e(e){e&&n===location.pathname||(n=location.pathname,t("pageview"))}var n,i=function(){e(!0)},o=window.history;if(o.pushState){var a=o.pushState;o.pushState=function(){a.apply(this,arguments),i()},window.addEventListener("popstate",i)}"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){n||"visible"!==document.visibilityState||e()}):e(),window.addEventListener("pageshow",function(t){t.persisted&&e()})}(h);for(var r=window.plausible&&window.plausible.q||[],c=0;c<r.length;c++)h.apply(this,r[c]);window.plausible=h,window.plausible.init=t,window.plausible.v=36,window.plausible.l=!0}()}();

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.