Created
July 17, 2024 23:05
-
-
Save jepler/4fa97ddee95d9a1e288cf5d9b635e754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fix category height | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-07-17 | |
// @description try to take over the world! | |
// @author You | |
// @match https://blog.adafruit.com/wp/wp-admin/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=adafruit.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function GM_addStyle(css) { | |
const style = document.getElementById("GM_addStyleBy8626") || (function() { | |
const style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.id = "GM_addStyleBy8626"; | |
document.head.appendChild(style); | |
return style; | |
})(); | |
const sheet = style.sheet; | |
sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length); | |
} | |
GM_addStyle("#category-all { max-height: 400px; }") | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment