-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.user.js
3325 lines (3097 loc) · 106 KB
/
script.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// ==UserScript==
// @name Twitter(旧:𝕏)のインプレッション小遣い稼ぎ野郎どもをdisplay:none;するやつ
// @name:ja Twitter(旧:𝕏)のインプレッション小遣い稼ぎ野郎どもをdisplay:none;するやつ
// @name:en Hide the Twitter (formerly: 𝕏) impression-earning scammers with "display:none;"
// @name:zh-CN 使用 "display:none;" 隐藏 Twitter(曾用名: 𝕏)的印象收益骗子。
// @name:zh-TW 使用 "display:none;" 隱藏 Twitter(曾用名: 𝕏)的印象詐騙者。
// @namespace https://github.com/hi2ma-bu4
// @version 2.1.5
// @description Twitterのインプレゾンビを非表示にしたりブロック・通報するツールです。
// @description:ja Twitterのインプレゾンビを非表示にしたりブロック・通報するツールです。
// @description:en A tool to hide, block, and report spam on Twitter.
// @description:zh-CN 用于隐藏、阻止和报告 Twitter 上的垃圾邮件的工具。
// @description:zh-TW 用於隱藏、封鎖和報告 Twitter 上的垃圾郵件的工具。
// @author tromtub(snows)
// @license LGPL-2.1
// @match *://twitter.com/*
// @match *://x.com/*
// @match *://tweetdeck.twitter.com/*
// @icon data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAB7ElEQVR4Ae1XMZLCMAwUdw0ldJQ8ATpKnkBJByUd8ALyA/gBdJTQUtHS8QT4AaRM5ctmThmfogQ75CYNmhGTbGJr45Vk0yAiQzXaF9VsHwIZAofDgYwxqo9GI/K16/X6cqyxvdVqmdvtZh6PhwmCIHXcw7vdrpFj8ny9XhsYxhe8lwWHw2EycLFYpNh0Ok2w8/nsFHy1WrkE1wnAN5tNMkGv10ux3W6XIab5fD5P3ovldCGrP2Ap4LiW8uRJAcIwe1wpArYU0FJimhQgxaQ9cqX4BZYCgSVmS8HBfRP1JQEsY1xKGSmAcTC+l0QrIWDraicVMBBA4O1265ScpQnAMbkMwphjub1HAI7EkxoDK7n0/gQQGATsCmDMo+z++Hf8E5CjPZ9PiqKIZrMZhWFIl8slxcbjMTWbTTqdTuRrXoz5i2WXRIL+WxWw2+Uml13rnJUT4K9E9nMFaF3SxiojoO1u2rJzl4z3/+oIcHBMLiUp2rDe3ozg+BIYtNee87KjGzLGndPx7JD/0K7xog2Gl30ymaSY1jm9CPhsrXnnBK1zOhHgCWWtF7l2TtA6p3S1E+73exoMBrRcLul4PJKL3e93arfbSUeMA1O/36eYPHU6nWQu7pyaqRlfZnezV05anhSN34va7PPXrHYCP+VaTG3LBV1KAAAAAElFTkSuQmCC
// @updateURL https://github.com/hi2ma-bu4/X_impression_hide/raw/main/script.user.js
// @downloadURL https://github.com/hi2ma-bu4/X_impression_hide/raw/main/script.user.js
// @supportURL https://github.com/hi2ma-bu4/X_impression_hide
// @supportURL https://greasyfork.org/ja/scripts/484303
// @compatible chrome
// @compatible edge
// @compatible opera chromium製なので動くと仮定(It's made with chromium so I assume it works)
// @compatible firefox
// @compatible kiwi
// @compatible safari 確実に動く事は保証しません(I can't guarantee that it will work)
// @grant GM.addStyle
// @grant GM.setValue
// @grant GM.getValue
// @grant GM.deleteValue
// @grant GM.registerMenuCommand
// @run-at document-idle
// @noframes
// ==/UserScript==
/*
Twitter(旧:𝕏)のインプレッション小遣い稼ぎ野郎どもをdisplay:none;するやつ
略して、
インプレゾンビをnoneするやつ
*/
/*
コピー・改変してもいいけど、
「tromtub(snows)」は変えないでね。
*/
/* todo
・URLフィルター作成
・プロフィールメッセージフィルター作成
・画像リンク取得などを高速に
・gifをブロック
・検知率を上げる
・あやしい日本語の検知(多分自分の実力じゃ無理)
・フィルターをもっと有能に
・誤検知を減らす(今はまだいい?)
・クイックミュートボタンを作成
・whitelist_filterの実装
・名前
・他人の引用ツイートテキストフィルターを作成
・menuのresize:both;を左下に
・menuをもっと見やすく(たすけて)
・正規表現などの最適化
・軽量化
*/
(function () {
("use strict");
const PRO_NAME = "X_impression_hide";
const VERSION = "v2.1.5";
// スマホ判定
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
// ここから設定
const DEBUG = true;
// ==========================================================================================
// 設定初期値(定数)
// ==========================================================================================
const BLACK_TEXT_REG = `!# 行頭が"!#"だとコメント
!# プロフィールメッセージを異常に推してる人
((初|はじ)めまして|こんにち[はわ]|こんばん[はわ]|やっほ|[き気]になった|良かったら).*?ぷろふ
ぷろふ.*?の(確認|チェック|check)
(follow|フォロー).*?の(確認|チェック|check)
(^(連絡|絡み)|[→⇒➡]).*(よろ|おねがいします|返事)
!# chatGPTのエラーメッセージを取り敢えず対処
^申し訳ありません.*?(過激な表現や性的な内容|不適切なコンテンツや言葉).*?他の(質問や話題|トピックで質問)があれば.*?。$
!# 謎投資話
観察.*?毎日.*?銘柄.*?[万萬]円
(偶然|指摘|ブロガー|トレーダー?|毎日|金融).*?(株|投資|銘柄|アドバイス).*?[万萬][円元]
毎日.*?相場.*?予測.*?株式
相場.*?85%
!# chatGPT構文
ですね!.+(です|ね)[!。]$
されましたね!.+(です|ね)[!。]$
でしょう.+かもしれません.+(です|ね)[!。]$
!# 翻訳ってこと?!
^ハハハ、.+ます。?
^ああ、.+です。?
それは.+ますね。.+ですか\\?
!# 文章名指し
この情報を共有していただきありがとうございます
これはどういう意味ですか
!# 陰謀的単語
人口地震
!# 炎上商法
炎上覚悟で
!# 大切なことを?言います|断言します|何度も言いますが|勘違いしてい?る人が多いですが
!# タイ語のハッシュタグを含む場合
#[\\u0E00-\\u0F7F]+
!# アラビア語の単語を含む場合
[\\u0600-\\u07FF]{4,}
!# 中国語のなんかよく見るやつ
^想上课的私信主人
^太阳射不进来的地方
^挂空就是舒服,接点地气
^总说我下面水太多
^在这个炮火连天的夜晚
^只进入身体不进入生活
^生活太多伪装,只能在推上面卸下伪装
^生活枯燥无味,一个人的夜晚总想找个
^我每天都有好好的穿衣服.*俘获
^人不可能每一步都正确,我不想回头看,也不想批判当时的自己
^如果你连试着的胆量也没有,你也就配不上拥有性福
^我希望以后可以不用再送我回家,而是我们一起回我们的家
^勇敢一点我们在.*就有故事
^只要你主动一点点我们就会有机会.*线下
`;
// --------------------------------------------------
const BLACK_FULL_TEXT_REG = `!# 行頭が"!#"だとコメント
!# 謎投資話
@[a-z0-9_]{3,30}.*?(先生|観察|発見).*?(助け|共有)
(金融|借金|最近興味).*?@[a-z0-9_]{3,30}.*?(金融|投資|アドバイス|株|[万萬][円元])
`;
// --------------------------------------------------
const WHITE_TEXT_REG = `!# 同上
!# 例としてMisskey構文に対応してみる
^:[a-z0-9\-_]:$
!# 緊急性の高い単語を除外
!# ゾンビも使ってくるので除外ユーザー(Excluded users)を併用推奨
!# (災害・防災アカウントidをフィルターに追記した為コメントアウト)
!#
!# 地震|余震|マグニチュード|火災|災害|津波|波浪|台風|震度
!# jQuake
`;
// --------------------------------------------------
/*
const BLACK_RT_TEXT_REG = `!# 同上
!# 英語の動画宣伝RTの構文
(vid|video).*free
free.*(vid|video)
`;
*/
// --------------------------------------------------
const BLACK_NAME_REG = `!# 同上
!# アラビア語のみで構成
^([\\u0600-\\u07FF ]|\\p{P}|\\p{S})+$
!# ヒンディー語のみで構成
^([\\u0900-\\u097F ]|\\p{P}|\\p{S})+$
!# エロ垢抹消
ぷろふ.*(確認|ちぇっく|check)
おふぱこ
!# 謎投資話
NFT|投資
!# 中国語のなんかよく見るやつ
反差
私信领福利
同城
可约
`;
// --------------------------------------------------
const EXCLUDED_USERS = `!# 同上
!# 例として製作者のidを指定
@hi2ma_bu4
!# 災害(緊急)情報発信者を除外
!# 表記抜けや、誤字はGithubのIssuesにご報告下さい。
@UN_NERV
@EN_NERV
@EqAlarm
@saigai_sokuho
@MLIT_JAPAN
@CAO_BOUSAI
@JMA_bousai
@JMA_kishou
@JCG_koho
@meti_NIPPON
@ModJapan_saigai
@Kanboukansen
@NPA_saigaiKOHO
@MPD_bousai
@JapanSafeTravel
@JSCE_Saigai
@nhk_seikatsu
@TBC_saigai
@ats_saigai
@tokyo_bousai
@yokohama_saigai
@yamaguchiSaigai
@y_minami_saigai
@w_city_saigai
@sakai_saigai
@Saigai_ishikawa
@saigai01
@HiroshimaBousai
@etajima_bousai
@chibaken_saigai
@aichi_bousai
@kawasaki_bousai
@EhimeBousai
@Gunma_bousai
@nodasi_saigai
@IshiSaigai
@kfb_saigai
@KagoshimaSaigai
@kouchi_bousai
@NTTWestOfficial
@rikudennw
@denjiren
@denjiren_saigai
@mlit_chokoku
@JREast_official
!# サイバーセキュリティ
@cas_nisc
@nisc_forecast
!# TV
@news24ntv
!# 交通情報
@shutoko_traffic
@nexco_kanto
@e_nexco_touhoku
@JAL_flight_info
@JRE_Super_Exp
@odakyuline_info
`;
// TODO: プロフィールメッセージフィルター機能を作る
// Bimbo
// --------------------------------------------------
const ALLOW_LANG = "ja|en|es|zh|ko|pt|qme|qam|und";
// --------------------------------------------------
const SUB_DEFINITION_SUB = `!# 同上
!# それっぽいのをまとめとく
((season|シーズン).{0,2}(\\d{1,2}|[IVX]{1,5})|サブ|ファースト|セカンド|サード|新・?|ファイナル|(\\d{1,4}|[一二三四五六七八九十百千万壱弐参肆伍陸漆捌玖拾陌阡萬廿丗卅世]+)代目|sub|first|1st|second|2nd|third|3rd|fourth|4th|new|final)
`;
// --------------------------------------------------
const PLAT_FORM_BLACK_REG = `!# 同上
!# 例:
!# Twitter for Android
!# Twitter for iPhone
!# Twitter Web App
!# 広告などの投稿元
Twitter for Advertisers
`;
// ==========================================================================================
// 要素命名用 定数
// ==========================================================================================
const EX_MENU_ID = PRO_NAME + "_menu";
/**
* 独自利用id,class名定義
* @readonly
* @enum {string}
*/
const ELEM_NAME_DICT = {
PARENT_CLASS: PRO_NAME + "_parent",
CHECK_CLASS: PRO_NAME + "_check",
HIDE_CLASS: PRO_NAME + "_none",
LOG_CLASS: PRO_NAME + "_log",
HIDE_TITLE_CLASS: PRO_NAME + "_title",
HIDE_TITLE_SHOW_CLASS: PRO_NAME + "_title_show",
HIDE_TITLE_BUBBLE_CLASS: PRO_NAME + "_title_bubble",
MORE_TWEET_CLASS: PRO_NAME + "_moreTweet",
VERIFY_CLASS: PRO_NAME + "_verify",
PC_FLAG_CLASS: PRO_NAME + "_pc",
MOBILE_FLAG_CLASS: PRO_NAME + "_mobile",
EX_MENU_ID: EX_MENU_ID,
EX_MENU_OPEN_CLASS: EX_MENU_ID + "_open",
EX_MENU_ITEM_BASE_ID: EX_MENU_ID + "_item_",
EX_MENU_ITEM_ERROR_CLASS: EX_MENU_ID + "_err",
// Userscripts対応(ゴリ押し)
EX_MENU_OPEN_BUTTON: EX_MENU_ID + "_openBtn",
// OldTweetDeck対応(ゴリ押し)
USE_TWEET_DECK_CLASS: PRO_NAME + "_tweetDeck",
};
// ==========================================================================================
// css初期値(定数)
// ==========================================================================================
const BASE_CSS = /* css */ `
#${EX_MENU_ID} {
display: none;
position: fixed;
color: #111;
top: 0;
right: 0;
z-index: 2000;
}
/* 積み防止 */
#${EX_MENU_ID}.${ELEM_NAME_DICT.EX_MENU_OPEN_CLASS} {
display: block !important;
visibility: visible !important;
}
#${EX_MENU_ID} > div {
position: relative;
overflow-y: scroll;
overscroll-behavior: contain;
width: 50vh;
min-width: 200px;
max-width: 90vw;
height: 50vh;
min-height: 200px;
max-height: 90vh;
resize: both;
border: solid #000 2px;
background: #fafafaee;
}
#${ELEM_NAME_DICT.EX_MENU_ITEM_BASE_ID}__btns {
position: sticky;
right: 0;
bottom: 0;
text-align: right;
}
/* ツイート非表示 */
.${ELEM_NAME_DICT.HIDE_CLASS}:has(.${ELEM_NAME_DICT.LOG_CLASS} input[type=checkbox]:not(:checked)) > div:not(.${ELEM_NAME_DICT.LOG_CLASS}),
.${ELEM_NAME_DICT.HIDE_CLASS}:not(:has(.${ELEM_NAME_DICT.LOG_CLASS})) > div:not(.${ELEM_NAME_DICT.LOG_CLASS}) {
display: none;
}
body:not(.${ELEM_NAME_DICT.USE_TWEET_DECK_CLASS}) .${ELEM_NAME_DICT.HIDE_CLASS}:has(.${ELEM_NAME_DICT.LOG_CLASS}):not(:has(article)) {
display: none;
}
/* 検出内容の表示設定 */
.${ELEM_NAME_DICT.PARENT_CLASS} .${ELEM_NAME_DICT.HIDE_CLASS} {
background: #aaaa;
}
/* 以下非表示後の表示内容設定 */
.${ELEM_NAME_DICT.LOG_CLASS} {
display: flex;
justify-content: space-between;
}
.${ELEM_NAME_DICT.HIDE_TITLE_CLASS} {
position: relative;
display: inline-block;
cursor: help;
}
.${ELEM_NAME_DICT.HIDE_TITLE_BUBBLE_CLASS} {
position: absolute;
background-color: rgba(0, 0, 0, 0.85);
color: #fff;
padding: 0.3em 0.5em;
border-radius: 6px;
font-size: 0.8em;
white-space: nowrap;
word-break: keep-all;
overflow-wrap: break-word;
z-index: 100;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
max-width: 90vw;
}
.${ELEM_NAME_DICT.HIDE_TITLE_CLASS}.${ELEM_NAME_DICT.HIDE_TITLE_SHOW_CLASS} .${ELEM_NAME_DICT.HIDE_TITLE_BUBBLE_CLASS} {
opacity: 1;
pointer-events: auto;
}
.${ELEM_NAME_DICT.LOG_CLASS} > span > a {
color: rgb(29, 155, 240);
margin-left: 0.25em;
text-decoration: underline;
}
.${ELEM_NAME_DICT.LOG_CLASS} input[type=checkbox] {
display: none;
}
.${ELEM_NAME_DICT.LOG_CLASS} label {
cursor: pointer;
}
.${ELEM_NAME_DICT.LOG_CLASS} label:hover {
text-decoration: underline;
}
.${ELEM_NAME_DICT.LOG_CLASS} input[type=button] {
cursor: pointer;
background-color: rgba(0,0,0,0);
border: white 2px outset;
}
.${ELEM_NAME_DICT.LOG_CLASS} input[type=button]:hover {
background-color: rgba(29, 155, 240, .5);
}
.${ELEM_NAME_DICT.VERIFY_CLASS} {
max-width: 20px;
max-height: 20px;
color: rgb(29, 155, 240);
fill: currentcolor;
user-select: none;
height: 1.25em;
display: inline-block;
vertical-align: middle;
}
/* メニュー表示設定 */
#${EX_MENU_ID}.${ELEM_NAME_DICT.MOBILE_FLAG_CLASS} {
font-size: 0.8em;
}
#${EX_MENU_ID} textarea {
width: 95%;
resize: vertical;
height: 8em;
max-height: 25em;
tab-size: 4;
white-space: pre;
font-size: 0.89em;
}
#${EX_MENU_ID} input[type=text] {
width: 95%;
}
#${EX_MENU_ID} input[type=text],
#${EX_MENU_ID} input[type=number],
#${EX_MENU_ID} textarea,
#${EX_MENU_ID} select {
border: 1px solid #ccc;
}
#${EX_MENU_ID} input[type=button] {
background-color: #ffffffaa;
border: 1px solid #ccc;
border-radius: 4px;
color: #111133;
cursor: pointer;
margin: 0;
padding: 0.08em 0.2em;
transition: background 0.2s;
}
#${EX_MENU_ID} input[type=button]:hover {
background-color: rgba(29, 155, 240, .5);
}
#${EX_MENU_ID} input[type=checkbox] + label::after {
content: "Invalid";
}
#${EX_MENU_ID} input[type=checkbox]:checked + label::after {
content: "Validity";
}
#${EX_MENU_ID}[lang=ja] input[type=checkbox] + label::after {
content: "無効";
}
#${EX_MENU_ID}[lang=ja] input[type=checkbox]:checked + label::after {
content: "有効";
}
#${EX_MENU_ID} summary {
cursor: pointer;
}
#${EX_MENU_ID} details {
margin-top: 1em;
}
.${ELEM_NAME_DICT.EX_MENU_ITEM_BASE_ID}_name {
font-size: 1.3em;
margin-bottom: 3px;
margin-left: 2px;
}
.${ELEM_NAME_DICT.EX_MENU_ITEM_BASE_ID}_name + p {
font-size: .8em;
margin: 0 4px;
}
.${ELEM_NAME_DICT.EX_MENU_ITEM_ERROR_CLASS} {
color: red;
margin: 0;
}
#${ELEM_NAME_DICT.EX_MENU_OPEN_BUTTON} {
background: transparent;
font-weight: bold;
position: fixed;
width: 10em;
height: 2em;
top: 0;
right: 0;
}
/* iPad 第1~3世代(画面横)*/
@media (max-device-width: 1024px) and (orientation: landscape) {
#${ELEM_NAME_DICT.EX_MENU_OPEN_BUTTON} {
width: 20em;
height: 4em;
}
}
/* iPad 第4世代*/
@media screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) {
#${ELEM_NAME_DICT.EX_MENU_OPEN_BUTTON} {
width: 20em;
height: 4em;
}
}
`;
// --------------------------------------------------
const CUSTOM_CSS = /* css */ ``;
// ==========================================================================================
// 内部使用他(定数)
// ==========================================================================================
/**
* メニューform分類
* @readonly
* @enum {string}
*/
const MENU_INPUT_TYPE = {
text: "text",
num: "number",
check: "checkbox",
textarea: "textarea",
select: "select",
btn: "button",
};
/**
* メニュー分類グループ分類
* @readonly
* @enum {string}
*/
const MENU_GROUP_TYPE = {
basic: "basic",
internalRef : "internalRef",
advanced: "advanced",
tweetDeck: "tweetDeck",
debug: "debug",
};
// --------------------------------------------------
// 非表示id
/**
* メッセージフィルターの非表示id
* @readonly
* @enum {number}
*/
const FILTED_HIDDEN_ID = {
processed: -2,
evaluated: -1,
newEntry: 0,
commentFilterDetection: 1,
commentEmojiOnly: 2,
textDuplication: 3,
highUsage: 4,
selfCitation: 5,
nameFilterDetection: 6,
nameEmojiOnly: 7,
verifyRtBlock: 8,
symbolUsage: 9,
detectedElsewhere: 10,
authenticatedAccount: 11,
unauthorizedLanguage: 12,
selfCitationSub: 13,
contributtonCount: 14,
rtContributtonCount: 15,
rtSharingSeries: 16,
fullCommentFilterDetection: 17,
platformFilterDetection: 18,
};
// --------------------------------------------------
// データ保存用 定数
const SETTING_SAVE_KEY = PRO_NAME + "_json";
const BLACK_MEMORY_KEY = PRO_NAME + "_blackMemory";
// --------------------------------------------------
// 許可URL (ページ)
const ALLOW_PAGE_SET = new Set(["home", "search"]);
// 許可URL (ステータス)
const ALLOW_STATUS_SET = new Set(["status", "tweetdeck"]);
// --------------------------------------------------
// 翻訳key
const MENU_LANG_KEY = "menu_";
const MENU_LANG_KEY_NAME = "_name";
const MENU_LANG_KEY_EXPLANATION = "_explanation";
// --------------------------------------------------
/**
* 翻訳データ
* @readonly
* @constant {Object.<string, Object.<string, string>>} LANGUAGE_DICT
*/
const LANGUAGE_DICT = {
ja: {
// 日本語
menu_warn: /* html */ `
<small>現在のバージョン: ${VERSION}</small><br>
<small style="color:#d00">変更の保存をした場合、ページを更新してください。</small><br>
<small>使い方の説明は<a href="https://github.com/hi2ma-bu4/X_impression_hide" target="_blank" rel="noopener noreferrer">こちら</a>から</small>`,
menu_internalRef: "追加参照機能",
menu_advanced: "高度な設定",
menu_tweetDeck: "OldTweetDeck",
menu_debug: "デバッグ",
menu_error: "上記の設定内容の実行に失敗しました",
save: "保存",
close: "閉じる",
filter: "フィルター",
similarity: "類似度",
usageCount: "使用回数",
viewOriginalTweet: "元Tweetを見る",
sureReset: "本当にリセットを実行しますか?",
// setting menu
menu_visibleLog_name: "非表示ログを表示",
menu_visibleLog_explanation: `非表示にしたログを画面から消します。
画面が平和になりますが、投稿を非表示にされた理由・元投稿が確認出来なくなります。`,
menu_visibleVerifyLog_name: "非表示ログに認証マーク表示",
menu_visibleVerifyLog_explanation: `非表示にしたログの名前の後ろに認証マークを追加します。
企業バッジでも青バッジで表示されます。`,
menu_blackTextReg_name: "禁止する表現",
menu_blackTextReg_explanation: `非表示にするテキストを指定します。
メンション・ハッシュタグ・シンボルタグ・URLなどのリンク、絵文字は判定に含まれません。
記述方法は正規表現(/の間部分)で記述します。
(半角カタカナ、カタカナはひらがなに自動変換されます)
(全角英数字は半角英数字に、改行文字は半角スペースに自動変換されます)`,
menu_blackFullTextReg_name: "禁止する表現[拡張]",
menu_blackFullTextReg_explanation: `非表示にするテキストを指定します。
メンション・ハッシュタグ・シンボルタグ・URLなどのリンク、絵文字を判定に含みます。
指定方法などは[禁止する表現]と同じです。`,
menu_whiteTextReg_name: "許可する表現",
menu_whiteTextReg_explanation: `許可するテキストを指定します。
一致する投稿は非表示の対象になりません。
指定方法などは[禁止する表現]と同じです。`,
menu_blackRtTextReg_name: "禁止するRT表現",
menu_blackRtTextReg_explanation: `非表示にするRT元テキストを指定します。
指定方法などは[禁止する表現]と同じです。`,
menu_blackNameReg_name: "禁止する名前",
menu_blackNameReg_explanation: `非表示にするユーザー名を指定します。
指定方法などは[禁止する表現]と同じです。`,
menu_excludedUsers_name: "除外ユーザー",
menu_excludedUsers_explanation: `指定されたユーザーidは検知の対象になりません。
指定方法はユーザーidを改行で区切って記述するだけです。
idは完全一致のみ有効です。`,
menu_allowLang_name: "許可する言語",
menu_allowLang_explanation: `許可する言語を指定します。
記述方法は正規表現(/の間部分)で記述します。`,
menu_oneselfRetweetBlock_name: "自身の引用禁止",
menu_oneselfRetweetBlock_explanation: `自身を引用ツイートする投稿を非表示にします。`,
menu_oneselfSubRetweetBlock_name: "サブ垢での自身の引用禁止",
menu_oneselfSubRetweetBlock_explanation: `サブ垢での自身を引用ツイートする投稿を非表示にします。
ユーザー名から[サブ,2nd]などを除外しての一致検索です。`,
menu_subDefinitionReg_name: "サブ垢定義用表現",
menu_subDefinitionReg_explanation: `[サブ垢での自身の引用禁止]での除外文字を指定します。
1行ずつ評価していく為同時評価が必要な場合は「(aaa|bbb)」を使用して下さい。
指定方法などは[禁止する表現]と同じです。`,
menu_emojiOnryBlock_name: "絵文字投稿禁止",
menu_emojiOnryBlock_explanation: `絵文字のみで構成された投稿を非表示にします。`,
menu_emojiOnryNameBlock_name: "絵文字ユーザー名禁止",
menu_emojiOnryNameBlock_explanation: `絵文字のみで構成されたユーザー名を非表示にします。`,
menu_verifyBlock_name: "認証アカウント禁止",
menu_verifyBlock_explanation: `認証済アカウントを無差別に非表示にします。`,
menu_verifyRtBlock_name: "認証RT禁止",
menu_verifyRtBlock_explanation: `認証済アカウント投稿に対する引用RTを非表示にします。`,
menu_verifyOnryFilter_name: "認証アカウントのみ判定",
menu_verifyOnryFilter_explanation: `認証済アカウントのみを検知の対象にします。
通常アカウントや認証マークの無いアカウントはブロックされなくなります。`,
menu_formalityCare_name: "認証公式アカウントを保護",
menu_formalityCare_explanation: `公式アカウントを検知の対象から除外します。
(公式とは青いバッジ以外を指します)`,
menu_visibleBlockButton_name: "クイックブロック表示",
menu_visibleBlockButton_explanation: `1クリックでブロックできるボタンを表示します。
検出された投稿にしか表示されません。`,
menu_visibleReportButton_name: "クイック通報表示",
menu_visibleReportButton_explanation: `1クリックで通報できるボタンを表示します。
検出された投稿にしか表示されません。
(初期値はスパム報告です)`,
menu_maxHashtagCount_name: "ハッシュタグの上限数",
menu_maxHashtagCount_explanation: `1つの投稿内でのハッシュタグの使用上限数を指定します。`,
menu_maxSymboltagCount_name: "シンボルタグの上限数",
menu_maxSymboltagCount_explanation: `1つの投稿内でのシンボルタグの使用上限数を指定します。
※シンボルタグとは「$TWTR」のような#を$に置き換えた株を表す表現`,
menu_maxContributtonCount_name: "ツリー返信上限数",
menu_maxContributtonCount_explanation: `1つの投稿ツリーでの返信上限数を指定します。
値は許可のラインです。(例: 1で2投稿以上は非表示)
0を指定するとこの設定は無効化されます。`,
menu_maxRtCount_name: "1人によるRT上限数",
menu_maxRtCount_explanation: `1つの投稿ツリーでの1ユーザーの引用RT返信上限数を指定します。
値は[ツリー返信上限数]と同じ指定方法です。`,
menu_maxSameRtCount_name: "同一RT上限数",
menu_maxSameRtCount_explanation: `1つの投稿ツリーでの複数人からの同じユーザーに対する引用RT返信上限数を指定します。
値は[ツリー返信上限数]と同じ指定方法です。`,
menu_msgResemblance_name: "文章類似度許可ライン",
menu_msgResemblance_explanation: `コピペ文章かを判別する為の基準値を指定します。`,
menu_maxSaveTextSize_name: "比較される最大テキストサイズ",
menu_maxSaveTextSize_explanation: `コピペ投稿の文章比較の最大文字数を指定します。
値を大きくするほど誤検知率は減り、検知率も減ります。
(投稿の文字数が最大値以下の場合、この値は使用されません)`,
menu_minSaveTextSize_name: "一時保存・比較される最小テキストサイズ",
menu_minSaveTextSize_explanation: `比較用文章の最小文字数を指定します。
値が大きくするほど誤検知率は減り、検知率も減ります。
([比較される最大テキストサイズ]より大きい場合、比較処理は実行されません)`,
menu_maxSaveLogSize_name: "一時保存される投稿の最大数",
menu_maxSaveLogSize_explanation: `比較用文章の保持数を指定します。
値が小さいほど処理は軽くなりますが、検知率が減ります。`,
menu_language_name: "言語",
menu_language_explanation: `表示言語を設定します。`,
menu_useTwitterInternalData_name: "Twitter内部データ使用",
menu_useTwitterInternalData_explanation: `ユーザーと同じ画面(DOM)からのデータ取得ではなく、
内部で使用されているオブジェクトを処理に流用します。
<span style="color: #f00">Twitterのアップデートで動作しなくなる可能性があります。</span>
取得に失敗した場合既存の取得方法が代替で使用されます。
OldTweetDeckでは無効です。`,
menu_platformBlackReg_name: "禁止するプラットフォーム",
menu_platformBlackReg_explanation: `「Twitter Web App」などの投稿環境で判定します。
指定方法などは[禁止する表現]と同じです。
[Twitter内部データ使用]が無効の場合、動作しません。`,
menu_customCss_name: "ページ適用css設定",
menu_customCss_explanation: `ページへ適用するcssを指定します。`,
menu_bodyObsTimeout_name: "ページ更新検知用処理待機時間(ms)",
menu_bodyObsTimeout_explanation: `ページ更新を検知する際の検知の更新間隔を指定します。
値が大きいほど処理が軽くなりますが、非表示にする初速が落ちる可能性あります。`,
menu_blackMemory_name: "検知対象の記憶",
menu_blackMemory_explanation: `検出された対象を記憶します。
ページを更新などしても過去に検知した対象を素早く非表示に出来ます。
<span style="color: #f00">※この機能はbeta版です!!
誤検知されたアカウントが非表示のままになります。
[除外ユーザー]と併用して使用して下さい。</span>`,
menu_autoBlock_name: "【非推奨】自動ブロック",
menu_autoBlock_explanation: `検出された対象を自動でブロックします。
<span style="color: #f00">※この機能はbeta版です!!
誤検知でも戸惑いなくブロックされます。</span>`,
menu_useRegModeDotAll_name: "dotAllモードの利用",
menu_useRegModeDotAll_explanation: `内部で使用する正規表現でdotAllモードを使用可能にします。
<span style="color: #f00">この機能を無効にした場合、正規表現を記述するフィルターで改行を明示的に指定する必要があります。
変更を行う前に、その影響について理解して変更して下さい。</span>(ES9)`,
menu_resetSetting_name: "設定のリセット",
menu_resetSetting_explanation: `設定項目をリセットします。
(ページがリロードされます)
<span style="color: #f00">実行すると設定は復元出来ません!!!</span>`,
menu_resetBlackMemory_name: "検知済idのリセット",
menu_resetBlackMemory_explanation: `検知済idをリセットします。
(ページがリロードされます)
<span style="color: #f00">実行するとこれまで検知・非表示にされたユーザーが再度表示される可能性が高くなります!
[検知対象の記憶]を使用している状況で以前より処理が重いと感じた場合、リセットすると処理が軽くなる可能性があります。</span>`,
menu_enableOldTweetDeckMode_name: "OldTweetDeck対応",
menu_enableOldTweetDeckMode_explanation: `負荷軽減の為に分離
<span style="color: #f00">※この機能はbeta版です!!
動作の安定性を保証出来ません。</span>`,
menu_autoLoadJQuery_name: "jQuery自動読み込み",
menu_autoLoadJQuery_explanation: `OldTweetDeckではなぜかjQueryが使用されているのにjQueryが読み込まれていない為、
jQueryが読み込まれていない場合にjQueryを読み込む機能です。`,
menu_debug_viewSettingMenu_name: "起動時設定自動表示",
menu_debug_viewSettingMenu_explanation: `設定画面を自動で開く`,
menu_debug_visibleCardDebugButton_name: "クイックデバッグ表示",
menu_debug_visibleCardDebugButton_explanation: `1クリックでコンソールに該当MsgDataを出力できるボタンを表示します。
検出された投稿にしか表示されません。
<span style="font-size: 0.7em">検出された投稿は軽量化のためMsgDataを破棄するのでこの参照が最後の記録</span>`,
menu_debug_viewBlacklist_name: "blacklist表示",
menu_debug_viewBlacklist_explanation: `現在のblacklist_idをconsoleに出力する。`,
menu_debug_viewMsgDB_name: "MsgDB表示",
menu_debug_viewMsgDB_explanation: `現在のMsgDBをconsoleに出力する。`,
menu_debug_reInit_name: "init再実行",
menu_debug_reInit_explanation: `強制的にDOM設定を再設定する。
[ページ更新検知用処理待機時間(ms)]が仕事を放棄した際に使用。`,
//hideComment
detectedElsewhere: "他で検出済",
authenticatedAccount: "認証垢",
verifyRtBlock: "認証RT垢",
unauthorizedLanguage: "非許可言語",
contributtonCount: "連投",
rtContributtonCount: "RT連投",
rtSharingSeries: "RT共有連投",
filterDetection: "フィルター検出",
emojiOnly: "絵文字のみ",
textDuplication: "文章の複製",
highUsage: "#多量使用",
symbolUsage: "$多量使用",
selfCitation: "自身の引用",
selfCitationSub: "自身を引用?",
platformFilterDetection: "投稿元規制",
recursiveDetection: "再帰的検出",
},
en: {
// 英語
menu_warn: /* html */ `
<small>Current version: ${VERSION}</small><br>
<small style="color:#d00">If you have saved the changes, please refresh the page.</small><br>
<small>You can find the usage instructions <a href="https://github.com/hi2ma-bu4/X_impression_hide" target="_blank" rel="noopener noreferrer">here</a></small>`,
menu_internalRef: "Additional Reference",
menu_advanced: "Advanced settings",
menu_tweetDeck: "OldTweetDeck",
menu_debug: "Debug",
menu_error: "Failed to execute the above settings",
save: "Save",
close: "Close",
filter: "Filter",
similarity: "Similarity",
usageCount: "UsageCount",
viewOriginalTweet: "View original Tweet",
sureReset: "Are you sure you want to execute the reset?",
// setting menu
menu_visibleLog_name: "Show hidden logs",
menu_visibleLog_explanation: `It will remove the hidden logs from the screen.
The screen will be peaceful, but the reasons for hiding the posts and the original posts will no longer be visible.`,
menu_visibleVerifyLog_name: "Certification mark displayed on hidden log",
menu_visibleVerifyLog_explanation: `Adds a certification mark after the name of the hidden log.
Corporate badges are also displayed as blue badges.`,
menu_blackTextReg_name: "Prohibited expressions",
menu_blackTextReg_explanation: `Specify the text to hide.
Mentions, hashtags, symbol tags, URLs, and emojis are excluded from the evaluation.
The description should be written using regular expressions (between the / characters).
Half-width katakana and katakana will be automatically converted to hiragana.
Full-width alphanumeric characters will be converted to half-width,
and line breaks will be converted to spaces automatically.`,
menu_blackFullTextReg_name: "Prohibited expressions[Plus]",
menu_blackFullTextReg_explanation: `Specify the text to hide.
Mentions, hashtags, symbol tags, URLs, and emojis are included in the evaluation.
The specification method is the same as [Prohibited expressions].`,
menu_whiteTextReg_name: "Expressions allowed",
menu_whiteTextReg_explanation: `Specify the text to allow.
Matching posts will not be hidden.
The specification method is the same as [Prohibited expressions].`,
menu_blackRtTextReg_name: "Prohibited RT expressions",
menu_blackRtTextReg_explanation: `Specify the RT source text to hide.
The specification method is the same as [Prohibited expressions].`,
menu_blackNameReg_name: "Prohibited name",
menu_blackNameReg_explanation: `Specify the username to hide.
The specification method is the same as [Prohibited expressions].`,
menu_excludedUsers_name: "Excluded users",
menu_excludedUsers_explanation: `The specified user ID will not be detected.
To specify, simply write the user IDs separated by line breaks.
Only exact matches are valid for id.`,
menu_allowLang_name: "Allowed languages",
menu_allowLang_explanation: `Specify the allowed languages.
The description should be written using regular expressions (between the / characters).`,
menu_oneselfRetweetBlock_name: "Prohibition of self-quotation",
menu_oneselfRetweetBlock_explanation: `It hides posts that quote oneself.`,
menu_oneselfSubRetweetBlock_name: "Prohibition of quoting yourself in sub-text",
menu_oneselfSubRetweetBlock_explanation: `It hides posts that quote oneself.`,
menu_subDefinitionReg_name: "Expression for sub-scale definition",
menu_subDefinitionReg_explanation: `Specify the excluded characters for [Prohibit quoting yourself in sub-text].
If you need simultaneous evaluation, use "(aaa|bbb)" as each line is evaluated one by one.
The specification method is the same as [Prohibited expressions].`,
menu_emojiOnryBlock_name: "No emoji posting",
menu_emojiOnryBlock_explanation: `Hide posts composed only of emojis.`,
menu_emojiOnryNameBlock_name: "Prohibit emoji usernames",
menu_emojiOnryNameBlock_explanation: `Hide usernames composed only of emojis.`,
menu_verifyBlock_name: "Prohibition of authenticated accounts",
menu_verifyBlock_explanation: `It indiscriminately hides authenticated accounts.`,
menu_verifyRtBlock_name: "Authentication RT prohibited",
menu_verifyRtBlock_explanation: `Hide quoted RTs for authenticated account posts.`,
menu_verifyOnryFilter_name: "Authenticate accounts only",
menu_verifyOnryFilter_explanation: `It detects only authenticated accounts.
Regular accounts and accounts without verification badges will no longer be blocked.`,
menu_formalityCare_name: "Protect your authenticated official account",
menu_formalityCare_explanation: `Exclude official accounts from detection.
(Official means anything other than the blue badge)`,
menu_visibleBlockButton_name: "Quick block button display",
menu_visibleBlockButton_explanation: `Displays a button that allows you to block with one click.
It will only appear on detected posts.`,
menu_visibleReportButton_name: "Quick report button display",
menu_visibleReportButton_explanation: `Displays a button that allows you to report with one click.
It will only appear on detected posts.
(Initial value is spam report)`,
menu_maxHashtagCount_name: "Maximum number of hashtags",
menu_maxHashtagCount_explanation: `It specifies the maximum number of hashtags allowed in a single post.`,
menu_maxSymboltagCount_name: "Maximum number of symboltags",
menu_maxSymboltagCount_explanation: `It specifies the maximum number of symboltags allowed in a single post.
*Symbol tag is an expression that represents a stock by replacing # with $, such as "$TWTR"`,
menu_maxContributtonCount_name: "Maximum number of tree replies",
menu_maxContributtonCount_explanation: `Specify the maximum number of replies in one post tree.
The value is the line of permission. (Example: 1 hides 2 or more posts)
Specifying 0 disables this setting.`,
menu_maxRtCount_name: "Maximum number of RTs by one person",
menu_maxRtCount_explanation: `Specify the maximum number of quote RT replies for one user in one post tree.
The value is specified in the same way as [Maximum number of tree replies].`,
menu_maxSameRtCount_name: "Maximum number of same RTs",
menu_maxSameRtCount_explanation: `Specify the maximum number of quote RT replies to the same user from multiple people in one post tree.
The value is specified in the same way as [Maximum number of tree replies].`,
menu_msgResemblance_name: "Text similarity threshold",
menu_msgResemblance_explanation: `It specifies the threshold value for determining whether a text is a copied and pasted text.`,
menu_maxSaveTextSize_name: "Maximum text size for comparison",
menu_maxSaveTextSize_explanation: `It specifies the maximum number of characters for text comparison in copied and pasted posts.
Increasing the value reduces the false positive rate but also reduces the detection rate.
(This value is not used if the post's character count is below the maximum value.)`,
menu_minSaveTextSize_name: "The minimum text size that is temporarily saved and compared",
menu_minSaveTextSize_explanation: `This specifies the minimum number of characters for the comparison text.
Increasing the value reduces the false detection rate as well as the detection rate.
If it is larger than the [Maximum text size for comparison], the comparison process will not be executed.`,
menu_maxSaveLogSize_name: "The maximum number of posts that are temporarily saved",
menu_maxSaveLogSize_explanation: `This specifies the number of comparison texts to be retained.
A smaller value reduces the processing load but also decreases the detection rate.`,
menu_language_name: "Language",
menu_language_explanation: `Set the display language.`,
menu_useTwitterInternalData_name: "Use of Twitter internal data",
menu_useTwitterInternalData_explanation: `Instead of retrieving data from the same screen (DOM) as the user, this feature reuses internal objects used by Twitter.
<span style="color: #f00">This may stop working if Twitter updates their platform.</span>
If data retrieval fails, the existing method will be used as a fallback.
This is not supported on OldTweetDeck.`,
menu_platformBlackReg_name: "Disallowed platforms",
menu_platformBlackReg_explanation: `Posts are identified based on the source client, like "Twitter Web App".
The specification method is the same as [Prohibited expressions].
Does not work if [Use of Twitter internal data] is disabled.`,
menu_customCss_name: "Page-specific CSS settings",
menu_customCss_explanation: `Specify the CSS to apply to the page.`,
menu_bodyObsTimeout_name: "Processing wait time (in milliseconds) for page update detection",
menu_bodyObsTimeout_explanation: `This specifies the interval for detecting page updates.
A larger value reduces the processing load but may potentially delay the initial speed of hiding.`,
menu_blackMemory_name: "Memory of detection target",
menu_blackMemory_explanation: `Remembers detected objects.
Even if you refresh the page, you can quickly hide objects detected in the past.
<span style="color: #f00">*This feature is in beta version! !
Falsely detected accounts remain hidden.
Please use it in conjunction with [Excluded User]. </span>`,
menu_autoBlock_name: "[Not recommended] Automatic block",
menu_autoBlock_explanation: `Automatically block detected targets.
<span style="color: #f00">*This feature is in beta version! !
Even false positives are blocked without hesitation.</span>`,
menu_useRegModeDotAll_name: "Using dotAll mode",
menu_useRegModeDotAll_explanation: `Enables the use of dotAll mode in regular expressions used internally.
<span style="color: #f00">If this feature is disabled, you will need to explicitly specify line breaks in filters that use regular expressions.
Please make sure you understand the implications before making changes.</span> (ES9)`,
menu_resetSetting_name: "Reset settings",
menu_resetSetting_explanation: `Reset the settings.
(The page will be reloaded.)
<span style="color: #f00">Once executed, the settings cannot be restored!!!</span>`,
menu_resetBlackMemory_name: "Reset detected ID",
menu_resetBlackMemory_explanation: `Reset detected ID.
(The page will be reloaded.)
<span style="color: #f00">If you run it, there is a high possibility that users who have been detected/hidden will be displayed again!
If you feel that the processing is slower than before when using [Remember detection targets], resetting it may make the processing faster. </span>`,
menu_enableOldTweetDeckMode_name: "OldTweetDeck compatible",
menu_enableOldTweetDeckMode_explanation: `Separated to reduce load
<span style="color: #f00">*This feature is in beta version! !
We cannot guarantee the stability of operation.</span>`,
menu_autoLoadJQuery_name: "jQuery Autoload",
menu_autoLoadJQuery_explanation: `For some reason, jQuery is used in OldTweetDeck but is not loaded, so this function loads jQuery when jQuery is not loaded.`,
menu_debug_viewSettingMenu_name: "Automatic display of settings at startup",
menu_debug_viewSettingMenu_explanation: `Automatically open the settings screen`,
menu_debug_viewBlacklist_name: "Blacklist display",
menu_debug_viewBlacklist_explanation: `Output current blacklist_id to console.`,
menu_debug_viewMsgDB_name: "MsgDB display",
menu_debug_viewMsgDB_explanation: `Output current MsgDB to console.`,
menu_debug_reInit_name: "init rerun",
menu_debug_reInit_explanation: `Force DOM settings to be reset.
Used when [Processing wait time (in milliseconds) for page update detection] is abandoned.`,
//hideComment
detectedElsewhere: "DetectedElsewhere",
authenticatedAccount: "AuthenticatedAccount",
verifyRtBlock: "AuthenticationRtPlaque",
unauthorizedLanguage: "UnauthorizedLanguage: ",
contributtonCount: "doubleTexting",
rtContributtonCount: "rtDoubleTexting",
rtSharingSeries: "rtSharingSeries",
filterDetection: "FilterDetection",