File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,45 @@ import { isTrackerOrigin } from '../src/trackers'
8
8
9
9
function initCode ( ) {
10
10
// @ts -expect-error https://app.asana.com/0/1201614831475344/1203979574128023/f
11
- const processedConfig = processConfig ( $CONTENT_SCOPE$ , $USER_UNPROTECTED_DOMAINS$ , $USER_PREFERENCES$ )
11
+ const config = $CONTENT_SCOPE$
12
+ config . features . duckPlayer = {
13
+ state : 'enabled' ,
14
+ exceptions : [ ] ,
15
+ settings : {
16
+ overlays : {
17
+ youtube : {
18
+ state : 'disabled'
19
+ } ,
20
+ serpProxy : {
21
+ state : 'disabled'
22
+ }
23
+ } ,
24
+ domains : [
25
+ {
26
+ domain : 'youtube.com' ,
27
+ patchSettings : [
28
+ {
29
+ op : 'replace' ,
30
+ path : '/overlays/youtube/state' ,
31
+ value : 'enabled'
32
+ }
33
+ ]
34
+ } ,
35
+ {
36
+ domain : 'duckduckgo.com' ,
37
+ patchSettings : [
38
+ {
39
+ op : 'replace' ,
40
+ path : '/overlays/serpProxy/state' ,
41
+ value : 'enabled'
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
47
+ }
48
+
49
+ const processedConfig = processConfig ( config , $USER_UNPROTECTED_DOMAINS$ , $USER_PREFERENCES$ )
12
50
if ( isGloballyDisabled ( processedConfig ) ) {
13
51
return
14
52
}
You can’t perform that action at this time.
0 commit comments