PageSourceSearch

https://www.fonetool.com/assets/js/article.js

js fonetool.com collected 2026-10-02 06:27:02 UTC 2,213 bytes, 50 lines download raw bytes

1/*
2 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
3 * @Date: 2023-02-06 11:46:04
4 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
5 * @LastEditTime: 2023-02-07 10:04:47
6 * @FilePath: \FT\assets\js\article.js
7 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8 */
9$(function () {
10    var $rows = $('#post-list').find('li.media-art').length > 0 ? $('#post-list').find('li.media-art') : $('#post-list').find('dd');
11    var count = $rows.length;
12    var pageSize = $('#post-list').find('li.media-art').length > 0 ? 5 : 15;
13    if (count > pageSize) {
14        var showPage = function (currentPage, pageSize) {
15            var begin = (currentPage - 1) * pageSize + 1 - 1,
16                end = begin + pageSize - 1;
17            $rows.show();
18            $rows.filter(":gt(" + end + ")").hide();
19            $rows.filter(":lt(" + begin + ")").hide();
20
21        };
22        $('#post-list').find('.pagination').pagination({
23            items: count,
24            itemsOnPage: pageSize,
25            cssStyle: 'light-theme',
26            useFirst: false,
27            useLast: false,
28            prevText: '<',
29            nextText: '>',
30            edges: 2,
31            displayedPages: 2,
32            useStartEdge: true,
33            useEndEdge: true,
34            useRatio: true,
35            ratioAtEnd: false,
36            hrefTextPrefix: '',
37            onPageClick: function (currentPage, event) {
38                showPage(currentPage, pageSize);
39                var t = $('#post-list').offset().top;
40                $("html,body").animate({
41                    "scrollTop": t
42                }, 500);
43                return false;
44            },
45            onInit: function () {
46                showPage(1, pageSize);
47            }
48        });
49    }
50});

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.