Skip to content

Commit 9d1024f

Browse files
committed
feat: 更新 ehentai 标签规则
1 parent e8d8f83 commit 9d1024f

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

src/userscript/detectAd.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import type { MainFn } from '../worker/detectAd/workHelper';
88

99
import { showCanvas, showGrayList } from '../worker/helper';
1010

11+
/** 用常识逻辑进行判断,以期能在检测失误时减小影响范围和遗漏 */
1112
const getAdPage = async <T>(
1213
list: (T | undefined)[],
1314
isAdPage: (item: T) => boolean | Promise<boolean>,

src/userscript/ehTagRules/index.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const rules = {
8080
'f:fft_threesome',
8181
'f:ttf_threesome',
8282
'f:full-packaged_futanari',
83+
'f:futanarization',
8384
],
8485
'f:shemale': ['f:ball-less_shemale'],
8586
'f:lolicon': [
@@ -128,9 +129,11 @@ const rules = {
128129
],
129130
'f:rape': ['f:gang_rape'],
130131
'm:rape': ['m:gang_rape'],
132+
'(f|m):corpse': ['f:necrophilia', 'm:necrophilia'],
133+
'(f|m):masturbation': ['f:phone_sex', 'm:phone_sex'],
131134

132-
'f:bondage': ['f:fanny_packing', 'f:shibari'],
133-
'm:bondage': ['m:fanny_packing', 'm:shibari'],
135+
'f:bondage': ['f:fanny_packing', 'f:shibari', 'f:straitjacket'],
136+
'm:bondage': ['m:fanny_packing', 'm:shibari', 'm:straitjacket'],
134137
'f:inflation': ['f:cumflation'],
135138
'm:inflation': ['m:cumflation'],
136139
'f:lactation': ['f:milking'],
@@ -141,16 +144,17 @@ const rules = {
141144
'f:big_breasts': ['f:huge_breasts', 'f:gigantic_breasts'],
142145
'f:huge_breasts': ['f:gigantic_breasts'],
143146

144-
'f:sex_toys': ['f:tail_plug', 'f:butt_plug'],
145-
'm:sex_toys': ['m:tail_plug', 'm:butt_plug'],
147+
'f:sex_toys': ['f:tail_plug', 'f:butt_plug', 'f:unusual_insertions'],
148+
'm:sex_toys': ['m:tail_plug', 'm:butt_plug', 'm:unusual_insertions'],
146149

147150
'f:swimsuit': ['f:bikini'],
148151
'm:swimsuit': ['m:bikini'],
149-
150152
'f:crossdressing': ['f:schoolboy_uniform'],
153+
'f:bandages': ['f:sarashi'],
151154

152-
'f:monster_girl': ['f:zombie'],
155+
'f:monster_girl': ['f:zombie', 'f:skeleton'],
153156
'f:tail': ['f:multiple_tails'],
157+
'(f|m):robot': ['f:dismantling', 'm:dismantling'],
154158
},
155159

156160
// 存在第一个标签时,就不应该存在其他标签
@@ -275,6 +279,8 @@ const rules = {
275279
'c:mizuki_akiyama': ['m:crossdressing'],
276280
'c:nagisa_kirifuji': ['f:angel', 'f:halo', 'f:very_long_hair', 'f:wings'],
277281
'c:mika_misono': ['f:angel', 'f:halo', 'f:very_long_hair', 'f:wings'],
282+
'c:kanade_yoisaki': ['f:very_long_hair'],
283+
'c:mafuyu_asahina': ['f:ponytail'],
278284
},
279285
};
280286

0 commit comments

Comments
 (0)