您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide all statistics info in blogger
- // ==UserScript==
- // @name Blogger Statistics Hider
- // @name:zh-TW Blogger 流量資訊隱藏
- // @namespace http://www.twsiyuan.com/
- // @version 1.2
- // @description Hide all statistics info in blogger
- // @description:zh-TW 在 Blogger 管理頁面中,隱藏所有的流量統計資訊
- // @author Siyuan
- // @match https://www.blogger.com/home
- // @match https://www.blogger.com/blogger.g*
- // @grant none
- // @require http://code.jquery.com/jquery-latest.js
- // ==/UserScript==
- $(document).ready(function() {
- 'use strict';
- $('a').each(function() {
- var href = $(this).attr('href');
- if (href && href.indexOf('#overviewstats') >= 0){
- $(this).hide();
- }
- });
- var sheet = window.document.styleSheets[0];
- sheet.insertRule('.gwt-Image { visibility: hidden !important; }', sheet.cssRules.length);
- sheet.insertRule('.editPosts tr td:nth-child(6) { display: none !important; }', sheet.cssRules.length);
- sheet.insertRule('.pages tr td:nth-child(6) { display: none !important; }', sheet.cssRules.length);
- });