您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
make dba usable on widescreen
// ==UserScript== // @name Widescreen Full page width dba.dk // @description make dba usable on widescreen // @namespace Violentmonkey Scripts // @match https://www.dba.dk/* // @version 2.1 // @author stewil // @homepageURL https://github.com/stewil // @grant GM_addStyle // @run-at document-start // @license GNU AGPLv3 // ==/UserScript== GM_addStyle ( ` main { max-width: 100% !important; } .grid-cols-2 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } .grid-cols-3 { grid-template-columns:repeat(4,minmax(0,1fr)) !important; } .col-span-2 { grid-column:span 3/span 3 !important; } .col-span-3 { grid-column:span 4/span 4 !important; } article { height: 26vw !important; } @media (min-width: 768px) { .col-span-2 { grid-column:span 3/span 3 !important; } .grid-cols-2 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } .grid-cols-1 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } } ` );