极简weibo.com 个人微型博客

精简weibo页面样式,用微博作为个人微型博客、个人笔记或简单wiki,记录生活感悟和技术要点。

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         极简weibo.com 个人微型博客
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  精简weibo页面样式,用微博作为个人微型博客、个人笔记或简单wiki,记录生活感悟和技术要点。
// @author       You
// @match        https://*.weibo.com/*
// @grant        GM_addStyle
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';
     GM_addStyle(`

#v6_pl_ad_yaoyaofans,
#plc_bot,
#v6_pl_leftnav_group,
.WB_main_r,
.PCD_header,
.WB_frame_b,
#pl_common_footer,
#v6_pl_content_homefeed,
.gn_logo,
.gn_search_v2,
.gn_nav_list > li:nth-child(-n + 4),
.face,
.WB_info,
.WB_feed_handle,
#WB_webchat {
    display: none !important;
}

body,
.S_page,
.S_page .WB_miniblog {
    background-image: none !important;
}

.WB_detail {
    margin-left: 6px !important;
}

.WB_frame_a,
.B_page .WB_frame,
.WB_frame_c {
    width: 800px;
}

.WB_global_nav .gn_header {
    width: 280px;
}


     `)
})();