PageSourceSearch

https://overscan.fr/js/pa-sYLDsZ0KT1D5WOXnxuTG9.exclusions.file-do…bound-links.pageview-props.tagged-events.js

js overscan.fr collected 2026-10-08 18:27:20 UTC 5,198 bytes, 1 lines download raw bytes

1!function(){var t,e,n,i=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 o=!1,c=location.href,u={},l=-1,s=0,d=0;function p(){var i=v();if(!t&&(l<n||i>=3e3)){l=n;var o={n:"engagement",sd:Math.round(n/e*100),d:a.domain,u:c,p:u,e:i,v:33};s=0,d=0,r(a.endpoint,o)}}function f(){"visible"===document.visibilityState&&document.hasFocus()&&0===s?s=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(d=v(),s=0,p())}function v(){return s?d+(Date.now()-s):d}function m(){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=document.body||{},n=document.documentElement||{},i=window.innerHeight||n.clientHeight||0,a=window.scrollY||n.scrollTop||t.scrollTop||0;return e<=i?e:a+i}function h(v,h){var b,y="pageview"===v;y&&o&&(p(),e=m(),n=g());try{if("true"===window.localStorage.plausible_ignore)return w(v,h,"localStorage flag")}catch(t){}var L=i&&i.getAttribute("data-include"),E=i&&i.getAttribute("data-exclude");function k(t){return location.pathname.match(RegExp("^"+t.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(y){var x=!L||L&&L.split(",").some(k),S=E&&E.split(",").some(k);if(!x||S)return w(v,h,"exclusion rule")}var N={};N.n=v,N.v=33,N.u=location.href,N.d=a.domain,N.r=document.referrer||null,h&&h.meta&&(N.m=JSON.stringify(h.meta)),h&&h.props&&(N.p=h.props),h&&!1===h.interactive&&(N.i=!1);var A=i.getAttributeNames().filter(function(t){return"event-"===t.substring(0,6)}),b=N.p||{};A.forEach(function(t){var e=t.replace("event-",""),n=i.getAttribute(t);b[e]=b[e]||n}),N.p=b,y&&(t=!1,c=N.u,u=N.p,l=-1,d=0,s=Date.now(),o||(document.addEventListener("visibilitychange",f),window.addEventListener("blur",f),window.addEventListener("focus",f),o=!0)),r(a.endpoint,N,h)}function w(e,n,i){i&&a.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===e&&(t=!0)}var b=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],y=b;function L(t){return t&&t.tagName&&"a"===t.tagName.toLowerCase()}function E(t){if("auxclick"!==t.type||1===t.button){var e=function(t){for(;t&&(void 0===t.tagName||!L(t)||!t.href);)t=t.parentNode;return t}(t.target),n=e&&"string"==typeof e.href&&e.href.split("?")[0];if(!function t(e,n){return!!e&&!(n>3)&&(!!x(e)||t(e.parentNode,n+1))}(e,0)){if(e&&"string"==typeof e.href&&e.host&&e.host!==location.host)return k(t,e,{name:"Outbound Link: Click",props:{url:e.href}});if(function(t){if(!t)return!1;var e=t.split(".").pop();return y.some(function(t){return t===e})}(n))return k(t,e,{name:"File Download",props:{url:n}})}}}function k(t,e,n){var i;i={props:n.props},h(n.name,i)}function x(t){var e=t&&t.classList;if(e){for(var n=0;n<e.length;n++)if(e.item(n).match(/plausible-event-name(=|--)(.+)/))return!0}return!1}function S(t){var e=x(t)?t:t&&t.parentNode,n={name:null,props:{}},i=e&&e.classList;if(!i)return n;for(var a=0;a<i.length;a++){var r,o,c=i.item(a).match(/plausible-event-(.+)(=|--)(.+)/);c&&(r=c[1],o=c[3].replace(/\+/g," "),"name"==r.toLowerCase()?n.name=o:n.props[r]=o)}return n}!function t(r){a.endpoint=i.getAttribute("data-api")||new URL(i.src).origin+"/api/event",a.domain=i.getAttribute("data-domain"),a.logging=!0,e=m(),n=g(),window.addEventListener("load",function(){e=m();var t=0,n=setInterval(function(){e=m(),15==++t&&clearInterval(n)},200)}),document.addEventListener("scroll",function(){e=m();var t=g();t>n&&(n=t)}),function(t){function e(e){e&&n===location.pathname||(n=location.pathname,t("pageview"))}var n,i=function(){e(!0)},a=window.history;if(a.pushState){var r=a.pushState;a.pushState=function(){r.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),function(){document.addEventListener("click",E),document.addEventListener("auxclick",E);var t=i.getAttribute("file-types"),e=i.getAttribute("add-file-types");function n(t){if("auxclick"!==t.type||1===t.button){for(var e,n,i,a=t.target,r=0;r<=3&&a;r++){if((e=a)&&e.tagName&&"form"===e.tagName.toLowerCase())return;L(a)&&(n=a),x(a)&&(i=a),a=a.parentNode}if(i){var o=S(i);if(n)o.props.url=n.href,k(t,n,o);else{var c={};c.props=o.props,h(o.name,c)}}}}t&&(y=t.split(",")),e&&(y=e.split(",").concat(b)),document.addEventListener("submit",function(t){var e,n=S(t.target);n.name&&(e={props:n.props},h(n.name,e))}),document.addEventListener("click",n),document.addEventListener("auxclick",n)}();for(var o=window.plausible&&window.plausible.q||[],c=0;c<o.length;c++)h.apply(this,o[c]);window.plausible=h,window.plausible.init=t,window.plausible.v=33,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.