[知乎增强] 能否增加回答问题取消关注问题

Open
#507 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
40/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
tooling

Research direction

Start by locating the JavaScript userscript handling Zhihu answers and inspect how answering a question currently affects following. Use the referenced unfollow_all() behavior as context, and consider the work complete when answering no longer leaves the question followed and the existing script behavior remains intact.

Written by the indexing model from the issue text.

Description

功能建议
功能需求

知乎回答问题自动关注太烦人了 能不能增加个功能 回答完取消关注?

预期目标

这是网上批量取消的脚本 可以参考
function unfollow_all(){
var remaining = $(".zg-unfollow").length;
if (remaining > 0) {
$(".zg-unfollow").first().trigger('click');
setTimeout(unfollow_all, 1000);
window.scrollTo(0,document.body.scrollHeight);
}
}
unfollow_all();

Dominant language
JavaScript
Stars
10k
Forks
706
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from XIU2/UserScript

All issues in XIU2/UserScript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.