您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Pins scrolling header to the top of the page.
// ==UserScript== // @name Tumblr No Scrolling Header // @namespace TNSH // @description Pins scrolling header to the top of the page. // @include https://www.tumblr.com/* // @version 3 // @grant GM_addStyle // @license GNU GPL v3 // ==/UserScript== // SETTINGS // Set to "true" if you want to pin the scrolling header to the top of the page, set to false otherwise var pinScrollingHeader = true; // Set to "true" if you want to hide the old button strip, set to false otherwise var hideOldPostButtons = false; // END OF SETTINGS if (pinScrollingHeader){ var h = document.getElementsByClassName("l-header-container l-header-container--refresh"); if (h.length >= 1) h[0].style.position = "absolute"; GM_addStyle(".l-header-container{position:absolute !important;}") } if (hideOldPostButtons){ var h = document.getElementById("new_post_buttons"); if (h) h.style.display = "none"; }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址