// ==UserScript== // @name newsmth top // @namespace https://www.newsmth.top/ // @version 0.4 // @description 将水木pc版转换为mobile模式,在浏览器实现app效果 // @author tiewuzi // @match https://www.newsmth.net/* // @license MIT // @run-at document-start // @icon https://www.newsmth.top/favicon.ico // @noframes // @downloadURL none // ==/UserScript== (function () { 'use strict'; if (window.newsmth_top_mark) { return; } else { window.newsmth_top_mark = true; } let sc = document.createElement('script'); sc.charset = 'UTF-8'; sc.src ='https://www.newsmth.top/js/newsmth.top.js'; sc.type = 'text/javascript'; document.querySelector('head').appendChild(sc); })();