微信公众号文章全屏显示

try to take over the world!

// ==UserScript==
// @name         微信公众号文章全屏显示
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://mp.weixin.qq.com/s/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var dom1 = document.getElementsByClassName("qr_code_pc")[0];
    var dom2 = document.getElementsByClassName("rich_media_area_primary_inner")[0];
    dom1.parentNode.removeChild(dom1);
     dom2.classList.remove("rich_media_area_primary_inner");
    // Your code here...
})();