We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501ed98 commit e802e88Copy full SHA for e802e88
src/util/site.ts
@@ -7,7 +7,7 @@
7
8
const SEPARATORS = /[-\|–_::,]/
9
10
-const INVALID_SITE_NAME = /(登录)|(我的)|(个人)|(主页)|(首页)/
+const INVALID_SITE_NAME = /(登录)|(我的)|(个人)|(主页)|(首页)|(Welcome)/
11
12
const SPECIAL_MAP = {
13
// 哔哩哔哩 (゜-゜)つロ 干杯~-bilibili
@@ -16,7 +16,7 @@ const SPECIAL_MAP = {
16
17
/**
18
* Extract the site name from the title of tab
19
- *
+ *
20
* @param title title
21
* @returns siteName, undefined if disable to detect
22
* @since 0.5.1
@@ -38,7 +38,7 @@ export function extractSiteName(title: string, host?: string) {
38
39
40
* Generate the label text with host and name
41
42
* @since 1.1.8
43
*/
44
export function generateSiteLabel(host: string, name?: string): string {
0 commit comments