@@ -98,6 +98,7 @@ interface SBConfig {
9898 "preview-sponsor" : PreviewBarOption ;
9999 "selfpromo" : PreviewBarOption ;
100100 "preview-selfpromo" : PreviewBarOption ;
101+ "exclusive_access" : PreviewBarOption ;
101102 "interaction" : PreviewBarOption ;
102103 "preview-interaction" : PreviewBarOption ;
103104 "intro" : PreviewBarOption ;
@@ -205,7 +206,7 @@ function migrateOldSyncFormats(config: SBConfig, local: SBStorage) {
205206 local . skipProfiles [ skipProfileID ] = {
206207 name : chrome . i18n . getMessage ( "WhitelistedChannels" ) ,
207208 categorySelections : config . categorySelections
208- . filter ( ( s ) => ! [ ] . includes ( s . name ) )
209+ . filter ( ( s ) => ! [ "exclusive_access" ] . includes ( s . name ) )
209210 . map ( s => ( {
210211 name : s . name ,
211212 option : CategorySkipOption . ShowOverlay
@@ -249,6 +250,10 @@ function migrateOldSyncFormats(config: SBConfig, local: SBStorage) {
249250 }
250251 }
251252
253+ if ( config [ "exclusive_accessCategoryAdded" ] !== undefined ) {
254+ chrome . storage . sync . remove ( "exclusive_accessCategoryAdded" ) ;
255+ }
256+
252257 if ( config [ "fillerUpdate" ] !== undefined ) {
253258 chrome . storage . sync . remove ( "fillerUpdate" ) ;
254259 }
@@ -397,6 +402,9 @@ const syncDefaults = {
397402 } , {
398403 name : "poi_highlight" as Category ,
399404 option : CategorySkipOption . ManualSkip
405+ } , {
406+ name : "exclusive_access" as Category ,
407+ option : CategorySkipOption . ShowOverlay
400408 } ] ,
401409
402410 colorPalette : {
@@ -427,6 +435,10 @@ const syncDefaults = {
427435 color : "#bfbf35" ,
428436 opacity : "0.7"
429437 } ,
438+ "exclusive_access" : {
439+ color : "#008a5c" ,
440+ opacity : "0.7"
441+ } ,
430442 "interaction" : {
431443 color : "#cc00ff" ,
432444 opacity : "0.7"
0 commit comments