Greasy Fork is available in English.
remove max-width: 1100px;
当前为
// ==UserScript==
// @name V2exWidescreen
// @namespace http://tampermonkey.net/
// @version 0.1
// @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 = `
.content
{
min-width: 600px;
max-width: 100% !important;
margin: 0 auto
}
`;
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 );
})();