V2exWidescreen

remove max-width: 1100px;

  1. // ==UserScript==
  2. // @name V2exWidescreen
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description remove max-width: 1100px;
  6. // @author You
  7. // @match https://*.v2ex.com/*
  8. // @match https://v2ex.com/*
  9. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. let css = `
  17. .content
  18. {
  19. min-width: 600px;
  20. max-width: 100% !important;
  21. margin: 0 auto
  22. }
  23. `;
  24. let styleElement = document.createElement( 'style' );
  25. styleElement.type = 'text/css';
  26. if( styleElement.styleSheet )
  27. {
  28. styleElement.styleSheet.cssText = css;
  29. }
  30. else
  31. {
  32. styleElement.appendChild( document.createTextNode( css ) );
  33. }
  34. document.head.appendChild( styleElement );
  35. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址