MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / removeHighlightPostKeyword

Function removeHighlightPostKeyword

filter.js:2882–2891  ·  view source on GitHub ↗
(keyword)

Source from the content-addressed store, hash-verified

2880
2881// 删除帖子高亮关键词
2882function removeHighlightPostKeyword(keyword) {
2883 const keywords = getHighlightPostKeywords();
2884 const filtered = keywords.filter(k => k.keyword !== keyword);
2885 saveHighlightPostKeywords(filtered);
2886
2887 // 立即更新高亮和统计
2888 highlightPostContent();
2889
2890 return filtered;
2891}
2892
2893// 统计数据存储
2894let highlightStats = [];

Callers 1

Calls 3

getHighlightPostKeywordsFunction · 0.85
highlightPostContentFunction · 0.85

Tested by

no test coverage detected