您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
remove max-width: 1100px;
// ==UserScript== // @name V2exWidescreen // @namespace http://tampermonkey.net/ // @version 0.2 // @description remove max-width: 1100px; // @author You // @match https://*.v2ex.com/* // @match https://v2ex.com/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; let css = ` #Wrapper > .content.content, #Wrapper > .content { min-width: 600px !important; max-width: 100% !important; width: unset !important; height: unset !important; margin: 0 auto !important; } `; let styleElement = document.createElement('style'); styleElement.type = 'text/css'; if(styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { styleElement.appendChild(document.createTextNode(css)); } document.head.appendChild(styleElement); })();