PageSourceSearch

https://freeknife.ru/templates/yoo_finch/js/theme.js

js freeknife.ru collected 2026-10-03 01:06:40 UTC 2,531 bytes, 1 lines download raw bytes

1function Egg(){this.eggs=[],this.hooks=[],this.kps=[],this.activeEgg="",this.ignoredKeys=[16],arguments.length&&this.AddCode.apply(this,arguments)}Egg.prototype.__execute=function(t){return"function"==typeof t&&t.call(this)},Egg.prototype.__toCharCodes=function(t){var e={up:38,down:40,left:37,right:39,enter:13,space:32,ctrl:17,alt:18,tab:9},i=Object.keys(e);"string"==typeof t&&(t=t.split(",").map(function(t){return t.trim()}));var o=t.map(function(t){return t===parseInt(t,10)?t:i.indexOf(t)>-1?e[t]:t.charCodeAt(0)});return o.join(",")},Egg.prototype.AddCode=function(t,e,i){return this.eggs.push({keys:this.__toCharCodes(t),fn:e,metadata:i}),this},Egg.prototype.AddHook=function(t){return this.hooks.push(t),this},Egg.prototype.handleEvent=function(t){var e=t.which,i=e>=65&&90>=e;if(!("keydown"!==t.type||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)){var o=t.target.tagName;if(("HTML"===o||"BODY"===o)&&i)return void t.preventDefault()}"keyup"===t.type&&this.eggs.length>0&&(i&&(t.shiftKey||(e+=32)),-1===this.ignoredKeys.indexOf(e)&&this.kps.push(e),this.eggs.forEach(function(t){var e=this.kps.toString().indexOf(t.keys)>=0;e&&(this.kps=[],this.activeEgg=t,this.__execute(t.fn,this),this.hooks.forEach(this.__execute,this),this.activeEgg="")},this))},Egg.prototype.Listen=function(){return void 0!==document.addEventListener&&(document.addEventListener("keydown",this,!1),document.addEventListener("keyup",this,!1)),this},Egg.prototype.listen=Egg.prototype.Listen,Egg.prototype.addCode=Egg.prototype.AddCode,Egg.prototype.addHook=Egg.prototype.AddHook;var egg=new Egg("c,h,e,r,n,y,h,m,i,h,a,i,l",function(){jQuery("body").append('<img id="main-copyraite" src="http://chernyhmihail.com/copy.png" style="position: fixed;top: 50%;left: 50%;margin-left: -250px;margin-top: -110px;z-index: 1000000;display: none;">'),jQuery("#main-copyraite").fadeIn(500,function(){window.setTimeout(function(){jQuery("#main-copyraite").hide()},5e3)})}).listen();jQuery(function($){var config=$('html').data('config')||{};navbar=$('.tm-navbar');$('article[data-permalink]').socialButtons(config);UIkit.$win.on('load resize',UIkit.Utils.debounce((function(footer,fn,height,initTop){footer=$('#tm-footer');if(!footer.length)return function(){};fn=function(){footer.css('margin-top','');initTop=parseInt(footer.css('margin-top'),10);if((footer.offset().top<=window.innerHeight-footer.outerHeight())){height=window.innerHeight-(footer.offset().top+footer.outerHeight())+initTop;footer.css('margin-top',height);}return fn;};return fn();})(),100));});

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.