Greasy Fork

Greasy Fork is available in English.

驱动之家净化阅读 - 文章样式调整

驱动之家阅读文章样式调整

当前为 2019-03-27 提交的版本,查看 最新版本

// ==UserScript==
// @name         驱动之家净化阅读 - 文章样式调整
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  驱动之家阅读文章样式调整
// @author       zengyufei
// @match        http://news.mydrivers.com/**.htm
// @match        https://news.mydrivers.com/**.htm
// @grant        none
// @require      http://code.jquery.com/jquery-1.11.0.min.js
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    $(".news_box").attr("style", "width:1333px;");
    
    $(".news_left").attr("style", "width:1333px;");
    
    $(".news_n").attr("style", "width:1230px;");
    $(".pinlun_input").attr("style", "width:1230px;");
    $(".plun_left_newplun").attr("style", "width:1230px;");
    $("#commentsiframe").attr("style", "width:92%;");
    $(".share table").attr("style", "width:85%;");
    $("#a_showhotnews_list_dia").remove();

    $("#dangbei_down").parent().remove();
    $(".news_bt1").remove();
    $(".zcdf").remove();
    $(".share").remove();
    $("#commentsiframe").remove();
    $("#footer").remove();


    $(".news_info>div").remove();
    $("#i_lastnext").remove();
    $(".pathway").remove();
    $(".baidu").remove();
    $(".top").remove();
    $(".weixin").remove();
    $(".news_xg").remove();
    $(".news_right").remove();
    $(".footer_about").remove();


    $(".share table tbody tr td:lt(2)").remove();

    $(".yzm").css("margin-right", "30px");
})();