PageSourceSearch

https://www.ashleynorton.com/js/cookiepopup.js

js ashleynorton.com collected 2026-09-29 22:31:57 UTC 1,857 bytes, 1 lines download raw bytes

1!function (e) { "use strict"; var o; e.extend({ acceptCookies: function (t) { if (!function (e) { for (var o = e + "=", t = decodeURIComponent(document.cookie).split(";"), p = 0; p < t.length; p++) { for (var i = t[p]; " " == i.charAt(0) ;) i = i.substring(1); if (0 == i.indexOf(o)) return i.substring(o.length, i.length) } return "" }("cookiesAccepted")) { var p = e('<div id="cookie-popup-container"><div class="cookie-popup" style="display: none;"><div class="cookie-popup-inner"><div class="cookie-popup-left"><div class="cookie-popup-headline"></div><div class="cookie-popup-sub-headline"></div></div><div class="cookie-popup-right"><a href="#" class="cookie-popup-accept-cookies">OK</a>'), i = "bottom"; null != t && (i = null != t.position ? t.position : "bottom", null != t.title && p.find(".cookie-popup-headline").html(t.title), null != t.text && p.find(".cookie-popup-sub-headline").text(t.text), null != t.acceptButtonText && p.find(".cookie-popup-accept-cookies").text(t.acceptButtonText), null != t.learnMoreButtonText && p.find(".cookie-popup-learn-more").text(t.learnMoreButtonText), null != t.learnMoreInfoText && p.find(".cookie-popup-lower").text(t.learnMoreInfoText), null != t.theme && p.addClass("theme-" + t.theme), null != t.onAccept && (o = t.onAccept), null != t.learnMore && 0 == t.learnMore && p.find(".cookie-popup-learn-more").remove()), p.find(".cookie-popup").addClass("position-" + i), e("body").append(p), e(".cookie-popup").slideToggle() } } }), e(document).on("click", ".cookie-popup-accept-cookies", function (t) { t.preventDefault(), document.cookie = "cookiesAccepted=true; expires=Thu, 31 Dec 2099 12:00:00 UTC;; path=/", e(".cookie-popup").slideToggle(), "function" == typeof o && o() }).on("click", ".cookie-popup-learn-more", function (o) { o.preventDefault(), e(".cookie-popup-lower").slideToggle() }) }(jQuery);

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.