PageSourceSearch

https://bigriverresources.com/scripts/comments.js

js bigriverresources.com collected 2026-10-01 07:29:45 UTC 1,566 bytes, 41 lines download raw bytes

1addComment={moveForm:function(d,f,i,c){var m=this,a,h=m.I(d),b=m.I(i),l=m.I("cancel-comment-reply-link"),j=m.I("comment_parent"),k=m.I("comment_post_ID");if(!h||!b||!l||!j){return}m.respondId=i;c=c||false;if(!m.I("wp-temp-form-div")){a=document.createElement("div");a.id="wp-temp-form-div";a.style.display="none";b.parentNode.insertBefore(a,b)}h.parentNode.insertBefore(b,h.nextSibling);if(k&&c){k.value=c;}j.value=f;l.style.display="";l.onclick=function(){var n=addComment,e=n.I("wp-temp-form-div"),o=n.I(n.respondId);if(!e||!o){return}n.I("comment_parent").value="0";e.parentNode.insertBefore(o,e);e.parentNode.removeChild(e);this.style.display="none";this.onclick=null;return false};try{m.I("comment").focus()}catch(g){}return false},I:function(a){return document.getElementById(a)}};
2
3function getElementWithId(id)
4{
5    var obj;
6    if(document.getElementById)
7    {
8        obj = document.getElementById(id);
9    }
10    else if(document.all)
11    {
12        obj = document.all[id];
13    }
14    else if(document.layers)
15    {
16        obj = document.layers[id];
17    }
18    
19    return obj||null;
20}
21
22function clearCommentTb(tb) {
23    var _tb = getElementWithId(tb);
24    _tb.value = "";
25}
26
27function cptaSte(o1, o2, o3, or1, or2, i1, i2, i3, i4, i5)
28{
29    var _o1 = getElementWithId(o1);
30    var _o2 = getElementWithId(o2);
31    var _o3 = getElementWithId(o3);
32    var _or1 = getElementWithId(or1);
33    var _or2 = getElementWithId(or2);
34    
35    _o1.src = i1
36    _o2.src = i2
37    _o3.src = i3
38    _or1.src = i4
39    _or2.src = i5
40}
41 

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.