Imgur tablet

Let's kill the horizontal scroll.

  1. // ==UserScript==
  2. // @name Imgur tablet
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Let's kill the horizontal scroll.
  6. // @author You
  7. // @match https://imgur.com/gallery/*
  8. // @grant GM_addStyle
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. GM_addStyle('.right, .left {float: none;');
  14. GM_addStyle('iframe {max-width: 100%; width: 100%;');
  15. GM_addStyle('#inside {padding: 1em;');
  16. GM_addStyle('#secondary-nav {margin-right: 1em;');
  17. GM_addStyle('#topbar .logo {margin-left: 1em;');
  18. GM_addStyle('.advertisement {overflow: auto;');
  19. GM_addStyle('.post-header.fixed {left: 0; right: 0;');
  20. GM_addStyle('#comments-container {margin-top: 40px;');
  21. GM_addStyle('.header-center, #inside, #div-gpt-ad-spotlight, .div-gpt-ad-active-top_banner, .post-container, .post-header, #comments-container, #recommendations {width: auto;');
  22. })();

QingJ © 2025

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