PageSourceSearch

https://www.ummiyekocak.net/cjs/sitecookie.js

js ummiyekocak.net collected 2026-10-02 23:34:46 UTC 1,971 bytes, 62 lines download raw bytes

1function pureFadeIn(elem, display){
2  var el = document.getElementById(elem);
3  el.style.opacity = 0;
4  el.style.display = display || "block";
5
6  (function fade() {
7    var val = parseFloat(el.style.opacity);
8    if (!((val += .02) > 1)) {
9      el.style.opacity = val;
10      requestAnimationFrame(fade);
11    }
12  })();
13};
14function pureFadeOut(elem){
15  var el = document.getElementById(elem);
16  el.style.opacity = 1;
17
18  (function fade() {
19    if ((el.style.opacity -= .02) < 0) {
20      el.style.display = "none";
21    } else {
22      requestAnimationFrame(fade);
23    }
24  })();
25};
26
27function setCookie(name,value,days) {
28    var expires = "";
29    if (days) {
30        var date = new Date();
31        date.setTime(date.getTime() + (days*24*60*60*1000));
32        expires = "; expires=" + date.toUTCString();
33    }
34    document.cookie = name + "=" + (value || "")  + expires + "; path=/";
35}
36function getCookie(name) {
37    var nameEQ = name + "=";
38    var ca = document.cookie.split(';');
39    for(var i=0;i < ca.length;i++) {
40        var c = ca[i];
41        while (c.charAt(0)==' ') c = c.substring(1,c.length);
42        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
43    }
44    return null;
45}
46function eraseCookie(name) {
47    document.cookie = name+'=; Max-Age=-99999999;';
48}
49
50function cookieConsent() {
51  if (!getCookie('purecookieDismiss')) {
52    document.body.innerHTML += '<div class="cookieConsentContainer" id="cookieConsentContainer"><div class="cookieTitle"><a>' + purecookieTitle + '</a></div><div class="cookieDesc"><p>' + purecookieDesc + ' ' + purecookieLink + '</p></div><div class="cookieButton"><a onClick="purecookieDismiss();">' + purecookieButton + '</a></div></div>';
53	pureFadeIn("cookieConsentContainer");
54  }
55}
56
57function purecookieDismiss() {
58  setCookie('purecookieDismiss','1',7);
59  pureFadeOut("cookieConsentContainer");
60}
61
62window.onload = function() { cookieConsent(); };

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.