Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能建议] 将回答/文章的 post 时间复制一份前置 #95

Open
commiyou opened this issue Jun 22, 2023 · 0 comments
Open

[功能建议] 将回答/文章的 post 时间复制一份前置 #95

commiyou opened this issue Jun 22, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@commiyou
Copy link

commiyou commented Jun 22, 2023

js code如下

const richText = document.querySelector('.RichText');
const answerTime = document.querySelector('.AnswerTime');
const postTime = document.querySelector('.PostTime');
richText?.prepend((answerTime ?? postTime)?.cloneNode(true));

这段js好像只能在load完评论之后才能执行,能否改进在回答主体出来时就直接copy过来?

另外建议wiki上增加下开启webview调试和注入js脚本的功能说明,只是引导让其google查询就行。

@shatyuka shatyuka added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants