Skip to content

Commit 8c5c1aa

Browse files
authored
feat(foman): hide unknown group of up
1 parent 550ce8b commit 8c5c1aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/ckylin-bilibili-unfollow.user.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name [Bilibili] 关注管理器
33
// @namespace ckylin-bilibili-foman
4-
// @version 0.2.26
4+
// @version 0.2.27
55
// @description 快速排序和筛选你的关注列表,一键取关不再关注的UP等
66
// @author CKylinMC
77
// @updateURL https://cdn.jsdelivr.net/gh/CKylinMC/UserJS/scripts/ckylin-bilibili-unfollow.user.js
@@ -90,7 +90,7 @@
9090
debug: false,
9191
retrial: 3,
9292
enableNewModules: false,
93-
VERSION: "0.2.23",
93+
VERSION: "0.2.27",
9494
infobarTemplate: () => `共读取 ${datas.fetched} 条关注`,
9595
titleTemplate: () => `<h1>关注管理器 FoMan <small>v${cfg.VERSION} ${cfg.debug ? "debug" : ""}</small> ${datas.settings.enableExpermentals ? "!" : ""}</h1>`,
9696

@@ -1622,7 +1622,8 @@
16221622
if (gid in datas.tags) {
16231623
name += datas.tags[gid].name;
16241624
} else {
1625-
name += "?";
1625+
//name += "?";
1626+
log("UP "+data.uname+" have unknown tag id "+gid+".")
16261627
}
16271628
}
16281629
tagsdom.innerHTML = name;

0 commit comments

Comments
 (0)