PageSourceSearch

https://www.kings-taunton.co.uk/wp-content/plugins/mh-content-shield/assets/js/shield.min.js?ver=1780909519

js kings-taunton.co.uk collected 2026-10-02 16:22:09 UTC 3,111 bytes, 2 lines download raw bytes

1!function(){"use strict";var e="undefined"!=typeof mhcs&&"elements"===mhcs.blurMode?"elements":"overlay",t={screenshot:!1,focus:!1},n=null,o=0,d=0,r=0,i=[];function s(o){t[o]=!0,"overlay"===e?n.style.opacity="1":document.body.classList.add("mhcs-blurred")}function u(o){t[o]=!1,t.screenshot||t.focus||("overlay"===e?n.style.opacity="0.001":document.body.classList.remove("mhcs-blurred"))}function c(e){var t=String(e.key).toLowerCase();return"control"===t||"meta"===t}function a(e){var t=String(e.key).toLowerCase();return"printscreen"===t||e.metaKey&&e.shiftKey&&("s"===t||"3"===t||"4"===t||"5"===t)}function l(e){clearTimeout(d),d=setTimeout(function(){u("screenshot")},e)}function m(){clearTimeout(r),r=setTimeout(function(){Date.now()<o||document.hasFocus()&&!document.hidden||s("focus")},80)}function f(){clearTimeout(r),u("focus")}function y(e){var t=e.embed.getBoundingClientRect();e.guard.style.left=t.left+window.scrollX+"px",e.guard.style.top=t.top+window.scrollY+"px",e.guard.style.width=t.width+"px",e.guard.style.height=t.height+"px",e.guard.style.display=t.width&&t.height?"block":"none"}function v(){Array.prototype.forEach.call(document.querySelectorAll("embed, object"),function(e){e.dataset.mhcsGuarded||(e.dataset.mhcsGuarded="1",function(e){var t=document.createElement("div"),n=window.getComputedStyle(e).zIndex,o={embed:e,guard:t};t.className="mhcs-embed-guard",t.style.position="absolute",t.style.background="transparent",t.style.zIndex=/^\d+$/.test(n)?String(parseInt(n,10)+1):"2147483646",t.addEventListener("contextmenu",function(e){e.preventDefault()}),t.addEventListener("mousedown",function(e){2!==e.button&&(t.style.pointerEvents="none",setTimeout(function(){t.style.pointerEvents="auto"},0))}),document.body.appendChild(t),i.push(o),y(o)}(e))})}function h(){i=i.filter(function(e){return document.documentElement.contains(e.embed)?(y(e),!0):(e.guard.remove(),!1)})}"overlay"===e&&((n=document.createElement("div")).id="mhcs-overlay",document.body.appendChild(n)),document.addEventListener("contextmenu",function(e){e.preventDefault()}),v(),h(),window.addEventListener("load",function(){v(),h()}),window.addEventListener("resize",h),window.addEventListener("scroll",h,!0),"undefined"!=typeof MutationObserver&&new MutationObserver(function(){v(),h()}).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("keydown",function(e){return function(e){return(e.ctrlKey||e.metaKey)&&!e.altKey&&"f"===String(e.key).toLowerCase()}(e)?(o=Date.now()+300,clearTimeout(d),u("screenshot"),void f()):c(e)?(s("screenshot"),void l(2500)):void(a(e)&&(s("screenshot"),l("printscreen"===String(e.key).toLowerCase()?900:1500)))}),document.addEventListener("keyup",function(e){(c(e)||a(e))&&l("printscreen"===String(e.key).toLowerCase()?600:1)}),document.addEventListener("visibilitychange",function(){document.hidden?m():f()}),window.addEventListener("blur",m),document.addEventListener("mouseleave",function(){document.hasFocus()||s("focus")}),window.addEventListener("focus",function(){clearTimeout(d),f(),u("screenshot")})}();
2//# sourceMappingURL=shield.min.js.map

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.