PageSourceSearch

https://forum.kvinneguiden.no/uploads/javascript_tekcode/front_front_widgets.js

js kvinneguiden.no collected 2026-10-02 07:14:24 UTC 3,102 bytes, 12 lines download raw bytes

1;(function($,_,undefined){"use strict";ips.controller.register('tekcode.front.tekcode.imagefeed',{initialize:function(){$('.cWidgetContainer .ipsWidget_horizontal .tek-imagefeed').each(function(index){$(this).find('.thumbnail-square .ipsImage_thumb').each(function(index){$(this).load(function(){if(this.width==this.height){return;}
2if(this.width<this.height){$(this).addClass('portrait');}});});});},});}(jQuery,_));;
3;(function($,_,undefined){"use strict";ips.controller.register('tekcode.front.tekcode.livefeed',{_pollingEnabled:true,_pollingActive:false,_pollingPaused:false,_initialPoll:7000,_currentPoll:7000,_decay:2000,_maxInterval:60000,_pollingTimeout:null,_pollAjax:null,_pollOnUnpaused:false,initialize:function(){this.setup();},setup:function(){if(this._pollingEnabled){this._startPolling();}},windowBlur:function(e){if(this._pollingEnabled){Debug.log('Window blurred, pausing polling...');this._pollingPaused=true;}},windowFocus:function(e){if(this._pollingEnabled&&this._pollingPaused){Debug.log('Window focused...');this._pollingPaused=false;if(this._pollOnUnpaused){this._pollOnUnpaused=false;this.renewLivefeed();}}},_startPolling:function(){var self=this;this._pollingActive=true;Debug.log('Starting polling with interval '+(this._currentPoll/1000)+'s');this._pollingTimeout=setTimeout(function(){self.renewLivefeed();},this._currentPoll);},_stopPolling:function(){this._pollingActive=false;if(this._pollingTimeout){clearTimeout(this._pollingTimeout);}},renewLivefeed:function(){var self=this;if(this._pollingPaused){Debug.log('Window blurred, delaying poll until focused...');this._pollOnUnpaused=true;return;}
4if(this._pollAjax&&!_.isUndefined(this._pollAjax.abort)){this._pollAjax.abort();}
5var livefeed_div=$('#LiveFeedContent');var limit=livefeed_div.attr('data-limit');var ignoreForums=livefeed_div.attr('data-ignoreForums');var includeForums=livefeed_div.attr('data-includeForums');var includeChildren=livefeed_div.attr('data-includeChildren');var extraUrl='';if(ignoreForums){extraUrl+='&ignoreForums='+ignoreForums;}
6if(includeForums){extraUrl+='&includeForums='+includeForums;}
7if(includeChildren){extraUrl+='&includeChildren='+includeChildren;}
8this._pollAjax=ips.getAjax();this._pollAjax(ips.getSetting('baseURL')+'index.php?app=tekcode&module=misc&limit='+limit+extraUrl,{dataType:'json'}).done(function(response){if(response.ipsHtml.length>0){$('#LiveFeedContent > .ipsDataList').html(response.ipsHtml);}
9if((self._currentPoll+self._decay)<self._maxInterval){self._currentPoll+=self._decay;}else{self._currentPoll=self._maxInterval;}
10self._startPolling();});},});}(jQuery,_));;
11;(function($,_,undefined){"use strict";ips.controller.register('tekcode.front.tekcode.popularforums',{initialize:function(){var forumList=$('.cForumList');if(forumList.length){console.log(forumList);forumList.hide();$('.ipsPageHeader').hide();}
12var popularForums=$('.cWidgetContainer .ipsWidget_horizontal .tekPopularForums');popularForums.append('<a href="'+popularForums.attr('data-url')+'" id="popularForums_more" class="ipsType_center ipsButton">Se flere temaer</a>');},});}(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.