每天都要在这里摸鱼,但是每次打开帖子后,那标题贼大,不适合摸鱼
能否调整一下 ![]()
大老远就能看到标题。
佬友说左下角的摸鱼模式
虽然但是 要下划后才会透明
我去。太神奇了
标题颜色不变啊
标题隐藏了呀不是
聚焦下面的楼层就无了
确实是的,可以写个css隐藏一下
@Clarke.L 来一个
捉到野生大帅哥
这个简洁模式,banner去哪了?
应该在的吧,我加无广告组了
手动F12吧
第一次知道原来还有摸鱼模式
油猴脚本写好了
// ==UserScript==
// @name Linux.do 标题优化工具
// @namespace http://tampermonkey.net/
// @version 2.0
// @description 调整Linux.do网站标题文字大小(主标题和主题链接)
// @author Your Name
// @match https://linux.do/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 目标元素选择器数组
const selectors = [
'#topic-title h1', // 主标题
'.extra-info-wrapper .topic-link' // 主题链接
];
// 字体修改函数
function modifyFontSizes() {
selectors.forEach(selector => {
const elements = document.querySelectorAll(selector);
elements.forEach(el => {
el.style.setProperty('font-size', '16px', 'important');
el.style.setProperty('line-height', '1.4', 'important');
});
});
}
// 初始修改
modifyFontSizes();
// 监听动态内容变化
const observer = new MutationObserver(modifyFontSizes);
observer.observe(document.body, {
childList: true,
subtree: true,
attributes: false,
characterData: false
});
// 添加额外样式确保长期有效
const style = document.createElement('style');
style.textContent = `
${selectors.join(', ')} {
font-size: 16px !important;
line-height: 1.4 !important;
transition: font-size 0.3s ease !important;
}
`;
document.head.appendChild(style);
// 监听路由变化(应对单页面应用)
let lastUrl = location.href;
setInterval(() => {
if (location.href !== lastUrl) {
lastUrl = location.href;
setTimeout(modifyFontSizes, 300);
}
}, 1000);
})();
写个油猴脚本,很简单的
这河狸吗 哈哈哈哈哈哈