File tree Expand file tree Collapse file tree 5 files changed +371
-336
lines changed Expand file tree Collapse file tree 5 files changed +371
-336
lines changed Original file line number Diff line number Diff line change 539
539
"message" : " Apply changes on current page" ,
540
540
"description" : " English: refresh page from menu notification"
541
541
},
542
+ "adnOpenLetterNotification" : {
543
+ "message" : " AdNauseam needs your support!" ,
544
+ "description" : " English: notification to open letter"
545
+ },
546
+ "adnOpenLetterButton" : {
547
+ "message" : " OPEN LETTER" ,
548
+ "description" : " English: button to open letter"
549
+ },
542
550
"supportS6P3S1" : {
543
551
"message" : " Make sure this issue is <b>AdNauseam-specific</b>." ,
544
552
"description" : " A paragraph in the filter issue reporter section"
Original file line number Diff line number Diff line change 82
82
< span data-i18n ="adnNotificationShowAdsDebug "> </ span >
83
83
<!-- newer version available -->
84
84
< span data-i18n ="adnNewerVersionAvailableNotification "> </ span >
85
+ <!-- open letter -->
86
+ < span data-i18n ="adnOpenLetterNotification "> </ span >
85
87
<!-- buttons -->
86
88
< span data-i18n ="adnNotificationDisable "> </ span >
87
89
< span data-i18n ="adnNotificationReactivate "> </ span >
88
90
< span data-i18n ="adnUpdateButton "> </ span >
91
+ < span data-i18n ="adnOpenLetterButton "> </ span >
89
92
</ div >
90
93
< script src ="lib/hsluv/hsluv-0.1.0.min.js "> </ script >
91
94
< script src ="js/vapi.js "> </ script >
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ import {
71
71
BlockingDisabled ,
72
72
ClickingDisabled ,
73
73
HidingDisabled ,
74
- NewerVersionAvailable
74
+ NewerVersionAvailable ,
75
+ OpenLetter
75
76
} from './notifications.js' ;
76
77
77
78
import {
@@ -1690,6 +1691,8 @@ const adnauseam = (function () {
1690
1691
verifyLists ( ) ;
1691
1692
verifyVersion ( ) ;
1692
1693
1694
+ addNotification ( notifications , OpenLetter ) ;
1695
+
1693
1696
dnt . updateFilters ( ) ;
1694
1697
1695
1698
if ( firstRun ) {
You can’t perform that action at this time.
0 commit comments