Greasy Fork is available in English.
新闻居中,隐藏推荐
当前为
// ==UserScript==
// @name 东方资讯美化
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 新闻居中,隐藏推荐
// @author AN drew
// @match *://mini.eastday.com/a/*
// @match *://kan.eastday.com/*
// @match https://video.eastday.com/a/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
if(window.location.href.indexOf("https")==-1)
$(".section").attr("style","padding-top:48px;");
else
$(".gg_cnt_detail").attr("style","height:0px;");
$(".recommend").attr("style","display:none");
$(".aside").attr("style","display:none");
$(".bottom_over_cnt").attr("style","display:none");
$(".J-bdsharebuttonbox-wrap").attr("style","display:none");
$(".pagination").attr("style","visibility:hidden");
$(".main_content").attr("style","display:flex;justify-content:center;align-items:center;");
$("#toolbar").attr("style","position:relative; left:-20px;");
$(".articlepage").attr("style","position:relative; left:-20px;");
$(".index_b").attr("style","display:none");
$("#sy_tbrb").attr("style","display:none");
$("body > div.con_index > div:nth-child(2)").attr("style","display:none");
$("#index_dy_bottom").attr("style","display:none");
$(".index_ad").attr("style","display:none");
$(".detail_fixed_gg").attr("style","display:none");
$("#error_bottom").attr("style","display:none");
$(".ad36_dbgg").attr("style","display:none");
$(".left_list").attr("style","display:none");
$(".i_des_ad").attr("style","display:none");
$(".i_ad").attr("style","display:none");
$(".p_right").attr("style","display:none");
$(".gg").attr("style","display:none");
$("#detail_ad2").attr("style","display:none");
$(".left_bottom").attr("style","display:none");
$(".cnxh_con").attr("style","display:none");
$(".dbdcp_cb").attr("style","display:none");
$("#wrap > div:nth-child(3) > div > div > div.p_left > div > div > div > div.g_title.clearfix").attr("style","display:none");
$("#wrap > div:nth-child(3) > div > div > div.p_left > div > div > div > div.guess_like > div.g_title.clearfix").attr("style","display:none");
$(".rmbq_con.rmbq").attr("style","display:none");
$(".main").attr("style","display:flex;justify-content:center;align-items:center;");
$(".layout_xxtj").attr("style","display:none");
$(".hot_recommend").attr("style","display:none");
// Your code here...
})();