PageSourceSearch

https://community-news.com/js/site.js?cb=1790392837

js community-news.com collected 2026-09-26 03:20:48 UTC 846 bytes, 37 lines download raw bytes

1var site = {
2
3  conditionalWXLoad: function(targetObj, minimumLength, callback)
4  {
5    if( !minimumLength ){
6      minimumLength = 2;
7    }
8    console.log('Target Obj: '+targetObj);
9    window.setTimeout(function(){
10      var img = targetObj.querySelectorAll('img');
11      if( img.length >= minimumLength ){
12        
13        for(i=0; i<=(img.length-1); i++){
14          img[i].removeAttribute('width');
15          img[i].removeAttribute('height');
16        }
17
18        if( typeof(callback) == 'function' ){
19          callback();
20        }
21
22      }
23    }, 1000);
24  },
25
26  showMsg: function()
27  {
28    window.setTimeout(function(){
29      var targetObj = document.querySelector('.weather-sponsor');
30      var img = targetObj.querySelectorAll('img');
31      if( img.length >= 2 ) {
32        $('.sponsor-msg').addClass('show');
33      }
34    }, 200);
35  }
36
37};

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.