PageSourceSearch

https://cnxiaobai.com/skins/bolo-butterfly/js/GlobalConfig.js

js cnxiaobai.com collected 2026-10-03 22:54:25 UTC 2,440 bytes, 77 lines download raw bytes

1/*
2 * Bolo - A stable and beautiful blogging system based in Solo.
3 * Copyright (c) 2020, https://github.com/adlered
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
17 */
18var GLOBAL_CONFIG = {
19    root: '/',
20    algolia: undefined,
21    localSearch: undefined,
22    translate: {
23        "defaultEncoding": 2,
24        "translateDelay": 0,
25        "msgToTraditionalChinese": "繁",
26        "msgToSimplifiedChinese": "ç°¡"
27    },
28    copy: {
29        success: '复制成功',
30        error: '复制错误',
31        noSupport: '浏览器不支持'
32    },
33    bookmark: {
34        message_prev: '按',
35        message_next: '键将本页加入书签'
36    },
37    runtime_unit: '天',
38    runtime: true,
39    copyright: undefined,
40    ClickShowText: undefined,
41    medium_zoom: false,
42    fancybox: true,
43    Snackbar: undefined,
44    justifiedGallery: {
45        js: 'https://ftp.stackoverflow.wiki/bolo/Justified-Gallery/dist/js/jquery.justifiedGallery.min.js',
46        css: 'https://ftp.stackoverflow.wiki/bolo/Justified-Gallery/dist/css/justifiedGallery.min.css'
47    },
48    baiduPush: true,
49    highlightCopy: true,
50    highlightLang: true,
51    isPhotoFigcaption: false,
52    islazyload: true,
53    isanchor: false
54};
55var GLOBAL_CONFIG_SITE = {
56    isPost: false,
57    isHome: true,
58    isHighlightShrink: false,
59    isSidebar: false
60}
61
62//动画加载
63// var endLoading = function () {
64//     document.body.style.overflow = 'auto';
65//     document.getElementById('loading-box').classList.add("loaded")
66// }
67// window.addEventListener('load', endLoading);
68
69function leftRight(){
70    $("article").each(function (index, element) {
71        if (index % 2 == 0) {
72            $(element).find(".post_cover").addClass("left_radius");
73        } else {
74            $(element).find(".post_cover").addClass("right_radius");
75        }
76    });
77}

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.