PageSourceSearch

https://www.greekcomics.gr/forums/uploads/javascript_core/plugins_plugins.js?v=c8ec513b521790935668

js greekcomics.gr collected 2026-10-02 13:24:42 UTC 1,902 bytes, 10 lines download raw bytes

1var btop=document.getElementById("tp-backtotop");window.onscroll=function(){scrollFunction()};function scrollFunction(){if(document.body.scrollTop>20||document.documentElement.scrollTop>20){btop.style.display="block";}else{btop.style.display="none";}}
2function topFunction(){document.body.scrollTop=0;document.documentElement.scrollTop=0;};
3;(function($,_,undefined){"use strict";ips.controller.register('plugins.tb.BumpUpTopics',{_bumpDays:0,_bumpHours:0,_bumpMinutes:0,_bumpSeconds:0,_updater:null,initialize:function(){this.setupTimer();},setupTimer:function(){var timer=this.scope.find('[data-role="bumpDisabled"]').attr('data-bumpTime');if(timer>0){this._bumpDays=Math.floor((timer/(60*60*24)));this._bumpHours=Math.floor((timer/(60*60))%24);this._bumpMinutes=Math.floor((timer/60)%60);this._bumpSeconds=Math.floor((timer)%60);this._updater=setInterval(_.bind(this._runTimer,this),1000);}},_runTimer:function(){if(this._bumpSeconds==0){if(this._bumpMinutes==0){if(this._bumpHours==0){if(this._bumpDays>0){this._bumpSeconds=59;this._bumpMinutes=59;this._bumpHours=23;this._bumpDays-=1;}}
4else
5{this._bumpSeconds=59;this._bumpMinutes=59;this._bumpHours-=1;}}
6else
7{this._bumpSeconds=59;this._bumpMinutes-=1;}}
8else
9{this._bumpSeconds-=1;}
10var timeValue=''+((this._bumpDays>0)?this._bumpDays+':':'');timeValue+=''+((this._bumpDays>0||this._bumpHours>0)?((this._bumpDays&&this._bumpHours<10)?'0':'')+this._bumpHours+':':'');timeValue+=((this._bumpMinutes<10)?'0':'')+this._bumpMinutes+':';timeValue+=((this._bumpSeconds<10)?'0':'')+this._bumpSeconds;this.scope.find('[data-role="bumpDisabled"] [data-bumpCountdown]').text(timeValue);if(this._bumpSeconds==0&&this._bumpMinutes==0&&this._bumpHours==0&&this._bumpDays==0){clearInterval(this._updater);this.scope.find('[data-role="bumpDisabled"]').addClass('ipsHide');this.scope.find('[data-role="bumpEnabled"]').removeClass('ipsHide');}}});}(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.