如图所示,可以给网站自己美化一些样式。
论坛本身没有自定义样式的地方,然后刷了一些帖子,看到部分佬友有这方面的需求,所以干脆就加进来了。
欢迎懂设计的大佬提供好看的样式,可以发在评论区让大家一起使用,如果css代码很多,可以放在第三方文件引入,如:
@import url(".....style.css");
如图所示,可以给网站自己美化一些样式。
论坛本身没有自定义样式的地方,然后刷了一些帖子,看到部分佬友有这方面的需求,所以干脆就加进来了。
欢迎懂设计的大佬提供好看的样式,可以发在评论区让大家一起使用,如果css代码很多,可以放在第三方文件引入,如:
@import url(".....style.css");
速度好快,秒回啊
感谢大佬分享
感谢大佬
感谢大佬
大佬牛逼
佬强啊
好强!
感谢分享
感谢分享
太强了
我想把论坛logo换成我的头像
可以安排这个功能,自定义 logo
// ==UserScript==
// @name Replace Discourse Forum Logo
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Replace the logo on the Discourse forum at linux.do with a custom one
// @author Your Name
// @match https://linux.do/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
const newLogoBase64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVoAAAFaCAMAAABoj2VEAAADAFBMVEX///8cHB7///+/vr7////////w8PD////////////+/v7v7+/6+vr9/f0dHR8AAAAZGRvu7u4PDxEeHiAgICLy8vIfHyHx8fEICArAv78QEBL8/Pz7+/wxMTLs6+vLysohISMbGx3BwMDFxMTCwcH5+flPT1EiIiTDwsL/sALz8/PGxcXPzs4LCw3Ew8PIx8fOzc3Hxsb19fX09PTt7e3S0dH4+Pnc29vh4ODMy8vJyMjc3NzV1NTm5ubKycnf3t729vfNzMzs7Ozq6enk4+Pf39/Qz8/i4eH3+PgAAAFAQELR0NDo5+fk5OTp6OjT0tLq6urU09PY19fW1dXX1tYAAAMJCQwEBAYXFxm+vb3m5eXZ2dkCAgTj4uLZ2Njd3NwNDQ8VFRcGBggRERPa2dnl5OTV1dXW1tbY2NjX19fQ0NDb2tq7uroTExXg39/T09PS0tK1tLS9vLze3d0aGhwjIyXw8O/P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ACPJP7KHeJvt8JGjrO4EptCd5NCx4ydOwl/AmAX+1OkzZ/0GAiecSziXKIH4B1gu5vyFhIREj78TBOFi0qXLyVdA/AOM5WpKcvK16yY9EHUDJkbJAAQl3bx1Pen2HdyFNgi7h9zuP3iYmpry6LERRBu46zx5mpaenh7y7PmLl9deZWTcfH0WBNpAdK3zeZV8dnvsm7dlMrPeAVAHK2SgiPC/OXzvEz9kfQQItCcUyv3p85cUZb0W8IqFc9q/ngGI9t3723eHq0AO+kMCCDQAWGRHRkf68vpJf1UBiN4jC3zZkN+5pWVmAyygDVR+ZqEP4GEKRaAC/v+7xh/1dfWWS59odQAAAABJRU5ErkJggg=='
function replaceLogo() {
const largeLogo = document.querySelector('img.logo-big');
if (largeLogo) {
largeLogo.src = newLogoBase64;
}
const smallLogo = document.querySelector('img.logo-small');
if (smallLogo) {
smallLogo.src = newLogoBase64;
}
}
function replaceFavicon() {
let link = document.querySelector("link[rel*='icon']");
if (link) {
link.href = newFaviconBase64;
} else {
link = document.createElement('link');
link.rel = 'shortcut icon';
link.href = newFaviconBase64;
document.head.appendChild(link);
}
}
window.addEventListener('load', () => {
replaceLogo();
replaceFavicon();
});
const observer = new MutationObserver(() => {
replaceLogo();
replaceFavicon();
});
observer.observe(document.body, { childList: true, subtree: true });
})();
这是之前一个大佬发的图标替换的油猴脚本,希望能帮到大佬。
感谢提供方案
大佬牛逼
感谢分享
太强了佬
牛逼
高产