Greasy Fork is available in English.

马蜂窝手机版-玩法guide 页面优化

页面优化

// ==UserScript==
// @name         马蜂窝手机版-玩法guide 页面优化
// @namespace    mscststs.com
// @version      0.12
// @description  页面优化
// @author       mscststs
// @match        https://m.mafengwo.cn/mmobile/wanfaguide/*
// @require https://greasyfork.org/scripts/38220-mscststs-tools/code/MSCSTSTS-TOOLS.js?version=1026406
// @icon         https://www.google.com/s2/favicons?sz=64&domain=mafengwo.cn
// @grant        GM_addStyle
// @license      ISC
// ==/UserScript==

(async function() {
    'use strict';
    await mscststs.wait(".guide");
    document.body.innerHTML = document.querySelector(".guide").outerHTML;
    [...document.querySelectorAll("img._j_lazyimg")].map(node=>{
        node.src = node.dataset.url;
    });

    GM_addStyle(/* CSS */`
    body{
        position:relative;
        height:100vh;
        width:100vw;
        padding:30px 25vw;
        overflow-x:hidden;
    }
    *{
        user-select: auto !important;
    }

    `)
})();