Greasy Fork

Greasy Fork is available in English.

simplify weibo HTML5 (JS)

simplify weibo html5 m.weibo.cn . weibo weibo.cn m.weibo.cn

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         simplify weibo HTML5 (JS)
// @namespace    http://greasyfork.icu
// @url          http://greasyfork.icu/scripts/39878
// @version      0.9
// @description  simplify weibo html5 m.weibo.cn . weibo weibo.cn m.weibo.cn
// @author       chaosky
// @match        https://m.weibo.cn/
// @match        https://m.weibo.cn/beta
// @match        https://m.weibo.cn/detail/*
// @license MIT
// @grant        GM_log
// @grant        GM_addStyle
// ==/UserScript==
/*jshint multistr: true */

(function() {
    'use strict';

    GM_addStyle(" \
.lite-topbar { position: absolute !important;  } \
.weibo-text { font-size: 0.75rem !important; line-height: 1.4 !important; } \
.f-weibo>.card-wrap { padding-top: 0.25rem; } \
.f-weibo .weibo-og { padding: 0.125rem 0 0 .25rem !important; } \
.m-text-box h3 { font-size: 0.75rem !important; } \
.weibo-rp { margin-top: 0.1rem !important; padding: 0.25rem !important; } \
.f-footer-ctrl { height: auto !important; \
                 padding: 0.2rem 0.075rem 1rem 0 !important; \
                 margin: 0.2rem 0.75rem !important; \
                 font-size: 0.75rem !important; \
} \
.card .weibo-top .m-text-cut { \
    float: left !important; \
    margin-left: 10px !important; \
} \
.m-diy-btn h4 { font-size: 0.725rem !important; } \
.lite-iconf { font-size: 0.75rem !important; } \
.m-icon { display: none !important;} \
\
.lite-page-tab { height: auto !important; \
                 line-height: normal !important; \
                 padding: 0.2rem .75rem !important; \
                 margin-top: 0.2rem !important; \
                 font-size: 0.75rem !important; } \
.m-text-box h4 { \
    font-size: .75rem !important; \
    line-height: normal !important; \
} \
.comment-content .m-text-box h4 { color: #999 !important; } \
.comment-content .card-main { padding: 0.25rem 0 !important; } \
.comment-content .cmt-sub-txt { font-size: .75rem !important; \
                                line-height: normal !important; \
                                padding: 0.2rem .625rem !important; } \
.comment-content .lite-line { margin: 0 !important; padding: 0 !important; } \
.comment-content .m-img-box { width: 1.5rem !important; height: 1.5rem !important; } \
\
.m-box .lite-bot-link { font-size: .75rem !important; } \
.lite-page-editor { position: inherit !important; } \
div.main > div > div.wrap { display: none !important; } \
.m-avatar-box .m-img-box img { border-radius: 0 !important; }; \
");
})();