PageSourceSearch

https://www.polywirer.com/_upload/tpl/04/03/1027/template1027/js/page_index.js

js polywirer.com collected 2026-10-04 16:36:01 UTC 1,502 bytes, 42 lines download raw bytes

1$(function(){
2    if($(".wp_paging").length>0){
3    $(".pagelist").css("display","flex")
4    var perCount=parseInt($("em.per_count").text())
5    var pageCount=parseInt($(".all_pages").text())
6    var pageIndex =parseInt($(".curr_page").text())
7    $(".total").text("/"+$(".all_pages").text())
8    $(".perPage span").text(perCount)
9      myPageInit({
10                   pages:pageCount,
11                   currentPage: pageIndex ,
12                   element: '.my-page',
13                   callback: function (page) {   
14                   }
15     });
16    
17    $(document).on("click",".my-page-cell",function(){
18    var Count=parseInt($(".all_pages").text())
19    var Cpage=parseInt($(".curr_page").text())
20    var page=parseInt($(this).text()) 
21    var url = location.pathname; 
22    window.location.href = url.replace(/list(\d*)/gi, "list" + page); 
23    })     
24    
25    $(document).on("click",".my-page-prev,.my-page-next",function(){
26    var page=parseInt($(".my-page-checked").text()) 
27    var url = location.pathname; 
28    window.location.href = url.replace(/list(\d*)/gi, "list" + page); 
29    })  
30       
31    $(document).on("click",".diy .goto",function(){
32    var page=parseInt($(".diy input").val())  
33    var url = location.pathname; 
34       if(page<=0 || page>perCount || isNaN(page)){
35         alert("请输入正确的页码")
36       }else{
37          window.location.href = url.replace(/list(\d*)/gi, "list" + page);
38       }   
39    })  
40}
41    
42    })

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.