// ==UserScript== // @name Pixiv 排行榜宽屏展示 // @version 0.1.0 // @description Pixiv 排行榜页面图片列表加宽,图片紧凑展示 // @author asadahimeka // @namespace https://www.nanoka.top // @license MIT // @match https://www.pixiv.net/ranking.php* // @source https://github.com/asadahimeka/userscripts // @supportURL https://github.com/asadahimeka/userscripts/issues // @run-at document-start // @grant GM_addStyle // @downloadURL https://update.greasyfork.icu/scripts/449227/Pixiv%20%E6%8E%92%E8%A1%8C%E6%A6%9C%E5%AE%BD%E5%B1%8F%E5%B1%95%E7%A4%BA.user.js // @updateURL https://update.greasyfork.icu/scripts/449227/Pixiv%20%E6%8E%92%E8%A1%8C%E6%A6%9C%E5%AE%BD%E5%B1%8F%E5%B1%95%E7%A4%BA.meta.js // ==/UserScript== (function() { "use strict"; GM_addStyle(` #wrapper { width: 90%; } .layout-body { width: 100%; } .premium-impression, ._premium-lead-function-banner { display: none; } ._layout-thumbnail ._thumbnail { width: 100%; max-height: unset !important; } .ranking-items.adjust .ranking-item { width: 270px; } .following2 .follow-button { position: relative; width: 40px; } .following2 .follow-button:before { content: '已关注'; position: absolute; width: 100%; height: 100%; top: 0; left: 0; text-align: center; background: #eee; line-height: 26px; } `); })();