微博隐藏带评论框的被赞内容

Hide 'liked by friends' items with comment box.

目前为 2016-04-21 提交的版本。查看 最新版本

// ==UserScript==
// @name         微博隐藏带评论框的被赞内容
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Hide 'liked by friends' items with comment box.
// @author       Mikkkee
// @include        http://weibo.com/*
// @include        http://www.weibo.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var a = document.querySelectorAll('div[node-type="commentList"]');
    for (var i = 0; i < a.length; ++i) {
        a[i].parentElement.parentElement.parentElement.style.display = 'none';
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址