PageSourceSearch

https://www.thepixellab.net/nitropack_static/UoscOIEftPJYvsXOQNUYs…31e2919215b5e490dc93564c56.simple-banner.js

js thepixellab.net collected 2026-10-03 20:40:53 UTC 3,757 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(e){const{pro_version_enabled:n,debug_mode:t,banner_params:s}=simpleBannerScriptParams;s.forEach((t,s)=>{const l=s===0?"":`_${s+1}`;const{simple_banner_text:a,simple_banner_disabled_page_paths:r,disabled_on_current_page:m,close_button_enabled:d,close_button_expiration:c,simple_banner_insert_inside_element:p,simple_banner_prepend_element:u,keep_site_custom_css:B,keep_site_custom_js:g,wp_body_open:f,wp_body_open_enabled:$}=t;const h={simpleBanner:`simple-banner${l}`,simpleBannerText:`simple-banner-text${l}`,simpleBannerCloseButton:`simple-banner-close-button${l}`,simpleBannerButton:`simple-banner-button${l}`,simpleBannerScrolling:`simple-banner-scrolling${l}`,simpleBannerSiteCustomCss:`simple-banner-site-custom-css${l}`,simpleBannerSiteCustomJs:`simple-banner-site-custom-js${l}`,simpleBannerHeaderMargin:`simple-banner-header-margin${l}`,simpleBannerHeaderPadding:`simple-banner-header-padding${l}`,simpleBannerClosedCookie:`simplebannerclosed${l}`};const y=a&&a!==undefined&&a!=="";const C=r?r.split(",").filter(Boolean).some(e=>{const n=e.trim();if(n.at(0)==="*"&&n.at(-1)==="*"){return window.location.pathname.includes(n.slice(1,-1))}if(n.at(0)==="*"){return window.location.pathname.endsWith(n.slice(1))}if(n.at(-1)==="*"){return window.location.pathname.startsWith(n.slice(0,-1))}return window.location.pathname===n}):false;const b=!n||n&&!m&&!C;const E=y&&b;if(E){if(!f||!$){const n=d?`<button aria-label="Close" id="${h.simpleBannerCloseButton}" class="${h.simpleBannerButton}">&#x2715;</button>`:"";const t=document.querySelector(p||u||"body");e(`<div id="${h.simpleBanner}" class="${h.simpleBanner}"><div class="${h.simpleBannerText}"><span>${a}</span></div>${n}</div>`).prependTo(t||"body")}const n=e("body").css("padding-left");const t=e("body").css("padding-right");if(n!="0px"){e("head").append(`<style type="text/css" media="screen">.${h.simpleBanner}{margin-left:-${n};padding-left:${n};}</style>`)}if(t!="0px"){e("head").append(`<style type="text/css" media="screen">.${h.simpleBanner}{margin-right:-${t};padding-right:${t};}</style>`)}function S(){const n=document.documentElement.scrollTop;if(n>e(`#${h.simpleBanner}`).height()){e(`#${h.simpleBanner}`).addClass(h.simpleBannerScrolling)}else{e(`#${h.simpleBanner}`).removeClass(h.simpleBannerScrolling)}}document.addEventListener("scroll",S)}function I(){if(!B&&document.getElementById(h.simpleBannerSiteCustomCss))document.getElementById(h.simpleBannerSiteCustomCss).remove();if(!g&&document.getElementById(h.simpleBannerSiteCustomJs))document.getElementById(h.simpleBannerSiteCustomJs).remove();if(document.getElementById(h.simpleBannerHeaderMargin))document.getElementById(h.simpleBannerHeaderMargin).remove();if(document.getElementById(h.simpleBannerHeaderPadding))document.getElementById(h.simpleBannerHeaderPadding).remove();if(document.getElementById(h.simpleBanner))document.getElementById(h.simpleBanner).remove()}if(E){const e=h.simpleBannerClosedCookie;if(d){if(o(e)==="true"){I();i(e,"true",c)}else{document.getElementById(h.simpleBannerCloseButton).onclick=function(){I();i(e,"true",c)}}}else{if(o(e)==="true"){document.cookie=`${h.simpleBannerClosedCookie}=true; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`}}}});function i(e,n,t){let s;if(t===""||t==="0"||parseFloat(t)){const e=parseFloat(t)||0;s=new Date;s.setTime(s.getTime()+e*24*60*60*1e3)}else{s=new Date(t)}const i="expires="+s.toUTCString();document.cookie=e+"="+n+";"+i+";path=/"}function o(e){const n=e+"=";const t=decodeURIComponent(document.cookie);const s=t.split(";");for(let e=0;e<s.length;e++){let t=s[e];while(t.charAt(0)==" "){t=t.substring(1)}if(t.indexOf(n)==0){return t.substring(n.length,t.length)}}return""}if(n&&t){console.log(simpleBannerScriptParams)}});

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.