Skip to content

Commit

Permalink
Update GmeekVercount.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Jul 31, 2024
1 parent 82cd2ae commit 1ff10bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/GmeekVercount.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function createBSZ() {
function createVercount() {
var postBody = document.getElementById('postBody');
if (postBody){
postBody.insertAdjacentHTML('afterend','<div id="busuanzi_container_page_pv" style="display:none;float:left;margin-top:8px;font-size:small;">本文浏览量<span id="busuanzi_value_page_pv"></span>次</div>');
Expand All @@ -8,9 +8,9 @@ function createBSZ() {
}

document.addEventListener("DOMContentLoaded", function() {
createBSZ();
createVercount();
var element = document.createElement('script');
element.src = 'https://vercount.one/js';
document.head.appendChild(element);
console.log("\n %c GmeekBSZ Plugins https://github.com/Meekdai/Gmeek \n","padding:5px 0;background:#bc4c00;color:#fff");
console.log("\n %c GmeekVercount Plugins https://github.com/Meekdai/Gmeek \n","padding:5px 0;background:#bc4c00;color:#fff");
});

0 comments on commit 1ff10bc

Please sign in to comment.