1/* Js for https://www.zdoo.com/, Version=1791447075 */ 2 v.objectType = "book";;v.objectID = 4;;v.showDetail = "\u663e\u793a\u5168\u90e8";;v.hideDetail = "\u6536\u8d77";;$(document).ready(function() 3{ 4 $.setAjaxForm('#commentForm', function(response) 5 { 6 if(response.result == 'success') 7 { 8 setTimeout(function() 9 { 10 var link = createLink('message', 'comment', 'objecType=' + $('#objectType').val() + '&objectID=' + $('#objectID').val()); 11 $('#commentForm').closest('#commentBox').load(link, location.href="#first"); 12 }, 13 1000); 14 } 15 else 16 { 17 if(response.reason == 'needChecking') 18 { 19 $('#captchaBox').html(Base64.decode(response.captcha)).show(); 20 } 21 } 22 }); 23 24 $('#pager').find('a').click(function() 25 { 26 $('#commentBox').load($(this).attr('href')); 27 return false; 28 }); 29 30 $('a[id*=reply]').modalTrigger(); 31 32 /* Process contents. */ 33 $('.content-detail').each(function() 34 { 35 var obj = $(this); 36 if(obj.height() > 100) 37 { 38 var buttons = "<a href='javascript:void(0)' onclick='showDetail(this)' class='showDetail'> ... " + v.showDetail + "</a>"; 39 buttons += "<a href='javascript:void(0)' onclick='hideDetail(this)' class='hideDetail'> " + v.hideDetail + "</a>"; 40 obj.parent().append(buttons); 41 obj.parent().find('.hideDetail').hide(); 42 obj.addClass('content-abstract'); 43 } 44 }); 45}); 46 47function showDetail(obj) 48{ 49 var tdContent = $(obj).parents('.td-content'); 50 tdContent.find('.content-detail').removeClass('content-abstract'); 51 tdContent.find('.showDetail').hide(); 52 tdContent.find('.hideDetail').show(); 53} 54 55function hideDetail(obj) 56{ 57 var tdContent = $(obj).parents('.td-content'); 58 tdContent.find('.content-detail').addClass('content-abstract'); 59 tdContent.find('.showDetail').show(); 60 tdContent.find('.hideDetail').hide(); 61} 62$(document).ready(function() 63{ 64 $('#pager').find('a').click(function() 65 { 66 if(v.objectType == 'order') $('#commentForm').closest('.modal-body').load($(this).attr('href')); 67 if(v.objectType != 'order') $('#commentForm').closest('#commentBox').load($(this).attr('href')); 68 return false; 69 }); 70 71 /* Process contents. */ 72 $('.content-detail').each(function() 73 { 74 var obj = $(this); 75 if(obj.height() > 100) 76 { 77 var buttons = "<a href='javascript:void(0)' onclick='showDetail(this)' class='showDetail'> ... " + v.showDetail + "</a>"; 78 buttons += "<a href='javascript:void(0)' onclick='hideDetail(this)' class='hideDetail'> " + v.hideDetail + "</a>"; 79 obj.parent().append(buttons); 80 obj.parent().find('.hideDetail').hide(); 81 obj.addClass('content-abstract'); 82 } 83 }); 84}); 85 86function showDetail(obj) 87{ 88 var tdContent = $(obj).parents('.td-content'); 89 tdContent.find('.content-detail').removeClass('content-abstract'); 90 tdContent.find('.showDetail').hide(); 91 tdContent.find('.hideDetail').show(); 92} 93 94function hideDetail(obj) 95{ 96 var tdContent = $(obj).parents('.td-content'); 97 tdContent.find('.content-detail').addClass('content-abstract'); 98 tdContent.find('.showDetail').show(); 99 tdContent.find('.hideDetail').hide(); 100} 101$('#siteNav').insertAfter('#navbarWrapper'); 102$('#searchbar').insertAfter('#siteNav'); 103$('#foot').insertBefore('#footer'); 104$('#words').attr('placeholder','æç´¢'); 105 106$(document).ready(function(){ 107 if(typeof headerList != 'undefined') return ; 108 headerList = true; 109 $('#footer #icpInfo').after('<a class="privacy" href="/page/zdoo-privacypolicy.html">éç§æ¿ç</a>'); 110 $('.m-user-register .form-horizontal .agreement-form span').after('<span>åã<a href="/page/zdoo-privacypolicy.html" target="_blank">éç§æ¿ç</a>ã</span>'); 111});
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.