您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Try to make AoC days easier to view on mobile.
当前为
// ==UserScript== // @name AoC For Mobile // @namespace http://tampermonkey.net/ // @version 2023-12-20 // @description Try to make AoC days easier to view on mobile. // @license MIT // @author myklosbotond // @match https://adventofcode.com/*/day/* // @icon https://www.google.com/s2/favicons?sz=64&domain=adventofcode.com // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; GM_addStyle(` body { min-width: min(60em, 100vw); max-width: 100vw; } @media only screen and (max-width: 60em) { header { overflow: auto; } #sidebar { float: none; border-top: 1px solid white; width: 100%; margin: 0; padding: 10px 0 0; } } main { max-width: 100vw; } main article, main p { max-width: 100%; } `); if (window.innerWidth < 600) { document.body.appendChild(document.getElementById("sidebar")); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址