Greasy Fork is available in English.
try to take over the world!
当前为
// ==UserScript==
// @name 微博去除推荐内容
// @namespace http://tampermonkey.net/
// @version 0.4
// @description try to take over the world!
// @author You
// @match *://*.weibo.com/*
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.1.1/jquery.min.js
// @run-at document-end
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(function(){
$("h4.title").each(function(){
if($(this).text().indexOf("广告") >-1)
{
$(this).parent().parent().parent().hide();
}
})
$(".W_layer.W_translateZ").each(function(){
if($(this).text().indexOf("网络繁忙")>-1)
{
$(this).hide();
$(".outer").hide()
}
})
if(!isNaN(parseInt(window.location.pathname.substr(1,10))))
{
$(".WB_frame").attr("style","display:table; margin:0 auto;");
$(".WB_frame_c").attr("style","display:table; margin:0 auto;");
$(".WB_frame_b").hide();
}
$("#plc_discover").attr("style","display:table; margin:0 auto;");
$(".pt_ul.clearfix").width("845px")
$(".key").hide();
$(".Slide_show_3dpDk").parent().hide();
$(".PCD_feed").parent().parent().hide();
$("#v6_pl_rightmod_hongbao").hide();
$("#v6_pl_rightmod_rank").hide();
$("#v6_pl_rightmod_recominfo").hide();
$("#v6_pl_rightmod_ads36").hide();
$("#v6_pl_rightmod_attfeed").hide();
$("#v6_trustPagelet_recom_member").hide();
$("#v6_pl_rightmod_noticeboard").hide();
$("#v6_pl_ad_bigday").hide();
$("#v6_pl_ad_forfqy").hide();
$("#Pl_Discover_TextList__4").hide();
})
})();