You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---原始邮件---
发件人: ***@***.***>
发送时间: 2024年12月20日(周五) 下午5:43
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [lizhipay/acg-faka] 网站设置添加自定义代码 (Issue #128)
搞好了吗这东西小功能也要钱
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
网上看到个翻译功能 想在主题里配置一下 没有地方填自定义代码,代码放下面有没有大佬能适配
自定义CSS代码:
.ignore:hover{color:var(--theme-color);transition:color .2s,transform .3s;}#translate {display:none;}
自定义javascript代码
translate.setAutoDiscriminateLocalLanguage();
translate.language.setLocal('chinese_simplified');
translate.service.use('client.edge');
function executeTranslation() {
translate.execute();
}
executeTranslation();
$(document).ajaxComplete(function() {
executeTranslation();
});
自定义头部HTML
<script src="上传的目录/translate.min.js"></script>翻译js.zip
functions.zip
The text was updated successfully, but these errors were encountered: