Skip to content

Commit 1b20fbd

Browse files
committed
docs: init
1 parent 1461278 commit 1b20fbd

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Bilibili Comment Search
2+
3+
Add comment searching support in Bilibili.
4+
5+
[Install on Greasyfork](https://greasyfork.org/en/scripts/467863-bilibili-comment-search)
6+
7+
![screenshot](./screenshot.webp)
8+
9+
## How it works
10+
11+
When the user clicks the "comment search" button, a modal will open and fetch all comments. The user can then input a keyword to search for specific comments. Once the fetching process is complete, only the comments that include the keyword will be displayed in the modal.
12+
13+
## Limitation
14+
15+
To improve performance and avoid hitting rate limits, currently only 20 pages of comments will be loaded, which is equivalent to 20 * 49 comments, along with a maximum of 3 sub-comments per comment.
16+
17+
## License
18+
19+
MIT

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "userscript-bilibili-comment-search",
33
"private": true,
44
"version": "0.1.0",
5-
"description": "Support searching comments in Bilibili.",
5+
"description": "Add comment searching support in Bilibili.",
66
"type": "module",
77
"packageManager": "[email protected]",
88
"author": "pacexy <[email protected]>",

screenshot.webp

49.4 KB
Loading

vite.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ export default defineConfig({
99
monkey({
1010
entry: 'src/main.tsx',
1111
userscript: {
12-
name: 'Bilibili Comment Search',
12+
name: {
13+
'': 'Bilibili 评论搜索',
14+
en: 'Bilibili Comment Search',
15+
zh: 'Bilibili 评论搜索',
16+
},
17+
description: {
18+
'': '让 Bilibili 支持评论搜索。',
19+
en: 'Add comment searching support in Bilibili.',
20+
zh: '让 Bilibili 支持评论搜索。',
21+
},
1322
icon: 'https://www.bilibili.com/favicon.ico',
1423
namespace: 'npm/vite-plugin-monkey',
1524
match: [

0 commit comments

Comments
 (0)