Greasy Fork

Rock Paper Scroll

Rock, Paper, Shotgun's new design adds a horizontal scroll, for no good reason.

目前为 2018-11-21 提交的版本。查看 最新版本

// ==UserScript==
// @name         Rock Paper Scroll
// @version      0.1.3
// @description  Rock, Paper, Shotgun's new design adds a horizontal scroll, for no good reason.
// @author       Ross Angus
// @match        https://www.rockpapershotgun.com/*
// @grant        GM_addStyle
// @namespace https://greasyfork.org/users/226099
// ==/UserScript==

(function() {
    'use strict';
    GM_addStyle('.leaderboards, .page, .header-desktop .container { width: auto !important;}');
    GM_addStyle('.ads-enabled .page > main .above { padding-right: 0;}');
    GM_addStyle('.video-hub.in-article .video-player { width: auto; float: none;}');
    GM_addStyle('.video-hub.in-article .video-player .player-wrapper { margin-bottom: 1em;}');
    GM_addStyle('.video-hub.in-article .video-archive { position: static; width: auto;}');
    GM_addStyle('#page aside {display: none;');
    GM_addStyle('iframe {max-width: 100%; width: 100% !important; right: 0;');
    GM_addStyle('#recommendations, .billboard-container {overflow: auto;');
})();