微信公众号文章阅读模式

对微信公众号文章进行重新排版,方便阅读

// ==UserScript==
// @name 微信公众号文章阅读模式
// @description 对微信公众号文章进行重新排版,方便阅读
// @author midpoint
// @version 1.0.7
// @grant none
// @noframes
// @include http://mp.weixin.qq.com/*
// @include https://mp.weixin.qq.com/*
// @include http*://*.weixin.qq.com/*
// @icon https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico
// @namespace https://greasyfork.org/users/5506
// ==/UserScript==
/*jshint multistr: true */

var styleEl = document.createElement('style');
styleEl.type = 'text/css';
styleEl.innerHTML = "\
.rich_media_area_primary_inner,.rich_media_area_extra_inner {max-width:90%;font-size:20px!important;}\
p,section,span[style] {font-size:20px!important;}\
.not_in_mm[style] .qr_code_pc_outer[style] {display: block!important;position: absolute;z-index: 9;}\
";

document.documentElement.appendChild(styleEl);