kemono.user.js を更新

このコミットが含まれているのは:
skscript 2023-10-28 12:53:12 +09:00
コミット 8649698104
1個のファイルの変更5行の追加3行の削除

ファイルの表示

@ -38,13 +38,15 @@
return {ok: match.groups.userid};
}
else {
let result = undefined;
document.querySelectorAll(".fanclub-name > a").forEach(element => {
console.log(element);
console.log(element, element.href);
const match = element.href.match(re);
if(match) {
return {ok: match.groups.userid};
result = {ok: match.groups.userid};
}
})
});
if (result) { return result };
return {err: 'Try again in the top page of this fanclub.\nファンクラブのトップページに移動してからもう一度実行してください'};
}
}