File tree Expand file tree Collapse file tree 2 files changed +6
-38
lines changed Expand file tree Collapse file tree 2 files changed +6
-38
lines changed Original file line number Diff line number Diff line change 64
64
key : docs-output-${{ github.run_id }}
65
65
- name : Install Playwright Browsers
66
66
run : npx playwright install --with-deps
67
+ - run : npm run playwright-e2e
67
68
- run : npm run playwright
68
69
- uses : actions/upload-artifact@v2
69
70
if : always()
Original file line number Diff line number Diff line change @@ -9,45 +9,12 @@ import { isTrackerOrigin } from '../src/trackers'
9
9
function initCode ( ) {
10
10
// @ts -expect-error https://app.asana.com/0/1201614831475344/1203979574128023/f
11
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
12
// @ts -expect-error https://app.asana.com/0/1201614831475344/1203979574128023/f
50
- const processedConfig = processConfig ( config , $USER_UNPROTECTED_DOMAINS$ , $USER_PREFERENCES$ )
13
+ const userUnprotected = $USER_UNPROTECTED_DOMAINS$
14
+ // @ts -expect-error https://app.asana.com/0/1201614831475344/1203979574128023/f
15
+ const userPreferences = $USER_PREFERENCES$
16
+
17
+ const processedConfig = processConfig ( config , userUnprotected , userPreferences )
51
18
if ( isGloballyDisabled ( processedConfig ) ) {
52
19
return
53
20
}
You can’t perform that action at this time.
0 commit comments