快资讯美化

将电脑版页面改为手机版,让新闻内容居中,隐藏推荐新闻

当前为 2021-11-12 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         快资讯美化
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  将电脑版页面改为手机版,让新闻内容居中,隐藏推荐新闻
// @author       AN drew
// @match        *://www.360kuai.com/*
// @match        *://360kuai.com/*
// @run-at       document-start
// @require      https://lib.baomitu.com/jquery/3.5.0/jquery.min.js
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict'

    GM_addStyle(`.side-wrapper{display:none!important}
    .content-wrapper{width:100%!important}
    #related_rec{display:none!important}
    .aside.content__block{display:none!important}
    #content-container{display: flex; justify-content: center;}
    .content__detail.clearfix{display:none!important}
    .right_aside_wrapper{display:none!important}
    .modal{display:none!important}
    .player-pinp--fixed{display:none!important}
    .app.next2 .body > .container.right-bottom__module--ads{padding-top:200px; padding-left:200px;}
    .app.next2 .body > .container.right-bottom__module--ads .content-body{display:none!important}
    `);

    setInterval(function(){
        $('.content-body.clearfix').removeAttr('style');
    });
})();