File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name EdgeGamers Forum Enhancement%RELEASE_TYPE%
33// @namespace https://github.com/blankdvth/eGOScripts/blob/master/src/EGO%20Forum%20Enhancement.ts
4- // @version 4.10.0
4+ // @version 4.10.1
55// @description Add various enhancements & QOL additions to the EdgeGamers Forums that are beneficial for Leadership members.
66// @author blank_dvth, Skle, MSWS, PixeL
77// @match https://www.edgegamers.com/*
@@ -140,9 +140,15 @@ function setupForumsConfig() {
140140 type : "checkbox" ,
141141 default : true ,
142142 } ,
143+ "show-confidential-watermark" : {
144+ label : "Show confidential watermarks on LE forums" ,
145+ title : "When checked, all LE forums will have a red confidential watermark on them." ,
146+ type : "checkbox" ,
147+ default : true ,
148+ } ,
143149 "confidential-reports" : {
144150 label : "Show confidential watermark on reports" ,
145- title : "When checked, reports will have a red confidential watermark on them." ,
151+ title : "When checked, reports will have a red confidential watermark on them. This only works if the above setting is enabled. " ,
146152 type : "checkbox" ,
147153 default : true ,
148154 } ,
@@ -1934,8 +1940,10 @@ function handleProfileDropdown(event: Event) {
19341940 * @returns void
19351941 */
19361942function handleLeadership ( ) {
1937- generateRedText ( "5%" ) ;
1938- generateRedText ( "80%" ) ;
1943+ if ( GM_config . get ( "show-confidential-watermark" ) ) {
1944+ generateRedText ( "5%" ) ;
1945+ generateRedText ( "80%" ) ;
1946+ }
19391947}
19401948
19411949/**
You can’t perform that action at this time.
0 commit comments