Blog
My Blog.
An open API service indexing awesome lists of open source software.
My Personal Blog
https://github.com/germey/blog
Last synced: about 9 hours ago
JSON representation
My Personal Blog
var NexT = window.NexT ||
{};
var CONFIG = {
"hostname": "cuiqingcai.com",
"root": "/",
"scheme": "Pisces",
"version": "7.8.0",
"exturl": false,
"sidebar":
{
"position": "right",
"width": 360,
"display": "post",
"padding": 18,
"offset": 12,
"onmobile": false,
"widgets": [
{
"type": "image",
"name": "阿布云",
"enable": false,
"url": "https://www.abuyun.com/http-proxy/introduce.html",
"src": "https://cdn.cuiqingcai.com/88au8.jpg",
"width": "100%"
},
{
"type": "image",
"name": "爬虫书",
"url": "https://item.jd.com/13527222.html",
"src": "https://cdn.cuiqingcai.com/ei5og.jpg",
"width": "100%",
"enable": true
},
{
"type": "categories",
"name": "分类",
"enable": true
},
{
"type": "image",
"name": "IPIDEA",
"url": "http://www.ipidea.net/?utm-source=cqc&utm-keyword=?cqc",
"src": "https://cdn.cuiqingcai.com/0ywun.png",
"width": "100%",
"enable": false
},
{
"type": "image",
"name": "Storm Proxies",
"src": "https://cdn.cuiqingcai.com/a2zad8.png",
"url": "https://www.stormproxies.cn/?keyword=jingmi",
"width": "100%",
"enable": false
},
{
"type": "friends",
"name": "友情链接",
"enable": true
},
{
"type": "hot",
"name": "猜你喜欢",
"enable": true
},
{
"type": "tags",
"name": "标签云",
"enable": true
}]
},
"copycode":
{
"enable": true,
"show_result": true,
"style": "mac"
},
"back2top":
{
"enable": true,
"sidebar": false,
"scrollpercent": true
},
"bookmark":
{
"enable": false,
"color": "#222",
"save": "auto"
},
"fancybox": false,
"mediumzoom": false,
"lazyload": false,
"pangu": true,
"comments":
{
"style": "tabs",
"active": "gitalk",
"storage": true,
"lazyload": false,
"nav": null,
"activeClass": "gitalk"
},
"algolia":
{
"hits":
{
"per_page": 10
},
"labels":
{
"input_placeholder": "Search for Posts",
"hits_empty": "We didn't find any results for the search: ${query}",
"hits_stats": "${hits} results found in ${time} ms"
}
},
"localsearch":
{
"enable": true,
"trigger": "auto",
"top_n_per_article": 10,
"unescape": false,
"preload": false
},
"motion":
{
"enable": false,
"async": false,
"transition":
{
"post_block": "bounceDownIn",
"post_header": "slideDownIn",
"post_body": "slideDownIn",
"coll_header": "slideLeftIn",
"sidebar": "slideUpIn"
}
},
"path": "search.xml"
};
// https://hexo.io/docs/variables.html
CONFIG.page = {
sidebar: "",
isHome: false,
isPost: false,
lang: 'zh-CN'
};
| 静觅
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-header
{
opacity: initial;
}.use-motion .site-title,
.use-motion .site-subtitle
{
opacity: initial;
top: initial;
}.use-motion .logo-line-before i
{
left: initial;
}.use-motion .logo-line-after i
{
right: initial;
}
0%
window.addEventListener('tabs:register', () =>
{
let
{
activeClass
} = CONFIG.comments;
if (CONFIG.comments.storage)
{
activeClass = localStorage.getItem('comments_active') || activeClass;
}
if (activeClass)
{
let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
if (activeTab)
{
activeTab.click();
}
}
});
if (CONFIG.comments.storage)
{
window.addEventListener('tabs:click', event =>
{
if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
let commentClass = event.target.classList[1];
localStorage.setItem('comments_active', commentClass);
});
}
(function ()
{
var canonicalURL, curProtocol;
//Get the <link> tag
var x = document.getElementsByTagName("link");
//Find the last canonical URL
if (x.length > 0)
{
for (i = 0; i < x.length; i++)
{
if (x[i].rel.toLowerCase() == 'canonical' && x[i].href)
{
canonicalURL = x[i].href;
}
}
}
//Get protocol
if (!canonicalURL)
{
curProtocol = window.location.protocol.split(':')[0];
}
else
{
curProtocol = canonicalURL.split(':')[0];
}
//Get current URL if the canonical URL does not exist
if (!canonicalURL) canonicalURL = window.location.href;
//Assign script content. Replace current URL with the canonical URL
! function ()
{
var e = /([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,
r = canonicalURL,
t = document.referrer;
if (!e.test(r))
{
var n = (String(curProtocol).toLowerCase() === 'https') ? "https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif" : "//api.share.baidu.com/s.gif";
t ? (n += "?r=" + encodeURIComponent(document.referrer), r && (n += "&l=" + r)) : r && (n += "?l=" + r);
var i = new Image;
i.src = n
}
}(window);
})();
NexT.utils.loadComments(document.querySelector('#gitalk-container'), () =>
{
NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () =>
{
var gitalk = new Gitalk(
{
perPage: : 100,
clientID: '4c86ce1d7c4fbb3b277c',
clientSecret: '4927beb0f90e2c07e66c99d9d2529cf3eb8ac8e4',
repo: 'Blog',
owner: 'germey',
admin: ['germey'],
id: 'f4556033e053cd035bd18e6c90520a88',
language: 'zh-CN',
distractionFreeMode: true
});
gitalk.render('gitalk-container');
}, window.Gitalk);
});