File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ const createDefaultProps = function() {
233
233
] . join ( '\n' ) ,
234
234
'urlFilteringString' : '' ,
235
235
'hostnameSwitchesString' : [
236
- 'no-csp-reports: * true' ,
237
236
'no-large-media: behind-the-scene false' ,
238
237
] . join ( '\n' ) ,
239
238
'lastRestoreFile' : '' ,
@@ -243,6 +242,10 @@ const createDefaultProps = function() {
243
242
'netWhitelist' : µb . netWhitelistDefault ,
244
243
'version' : '0.0.0.0'
245
244
} ;
245
+ // https://github.com/LiCybora/NanoDefenderFirefox/issues/196
246
+ if ( vAPI . webextFlavor . soup . has ( 'firefox' ) ) {
247
+ fetchableProps . hostnameSwitchesString += '\nno-csp-reports: * true' ;
248
+ }
246
249
toFetch ( µb . localSettings , fetchableProps ) ;
247
250
toFetch ( µb . userSettings , fetchableProps ) ;
248
251
toFetch ( µb . restoreBackupSettings , fetchableProps ) ;
You can’t perform that action at this time.
0 commit comments