Skip to content

Commit c100129

Browse files
shakyShaneShane OsbournejonathanKingston
authored
Co-authored-by: Shane Osbourne <[email protected]> Co-authored-by: Jonathan Kingston <[email protected]>
1 parent c74c219 commit c100129

40 files changed

+1099
-271
lines changed

injected/entry-points/android.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Android integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { load, init } from '../src/content-scope-features.js'
65
import { processConfig, isGloballyDisabled } from './../src/utils'

injected/entry-points/apple.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Apple integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { load, init } from '../src/content-scope-features.js'
65
import { processConfig, isGloballyDisabled } from './../src/utils'

injected/entry-points/chrome-mv3.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Chrome MV3 integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { load, init, update } from '../src/content-scope-features.js'
65
import { isTrackerOrigin } from '../src/trackers'

injected/entry-points/chrome.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Chrome integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { isTrackerOrigin } from '../src/trackers'
65
import { computeLimitedSiteObject } from '../src/utils'

injected/entry-points/mozilla.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Mozilla integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { load, init, update } from '../src/content-scope-features.js'
65
import { isTrackerOrigin } from '../src/trackers'

injected/entry-points/windows.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* @module Windows integration
3-
* @category Content Scope Scripts Integrations
43
*/
54
import { load, init } from '../src/content-scope-features.js'
65
import { processConfig, isGloballyDisabled, windowsSpecificFeatures } from './../src/utils'

injected/src/features/duck-player.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
/**
2-
* @module Duck Player Overlays
3-
*
4-
* @description
52
*
63
* Duck Player Overlays are either the small Dax icons that appear on top of video thumbnails
74
* when browsing YouTube. These icons allow users to open the video in Duck Player.
@@ -30,9 +27,9 @@
3027
*
3128
* For example, to enable the Duck Player Overlay on YouTube, the following config is used:
3229
*
33-
* ```json
34-
* [[include:injected/integration-test/test-pages/duckplayer/config/overlays-live.json]]```
30+
* [📝 JSON example](../../integration-test/test-pages/duckplayer/config/overlays-live.json)
3531
*
32+
* @module Duck Player Overlays
3633
*/
3734
import ContentFeature from '../content-feature.js'
3835

injected/src/features/duckplayer/thumbnails.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
/**
2-
* @module Duck Player Thumbnails
3-
*
4-
* @description
52
*
63
* ## Decision flow for `mouseover` (appending Dax)
74
*
@@ -52,7 +49,7 @@
5249
* - `eventTarget` matches a CSS selector in `[config] allowedEventTargets`
5350
* - otherwise, do nothing
5451
*
55-
* [[include:injected/src/features/duckplayer/thumbnails.md]]
52+
* @module Duck Player Thumbnails
5653
*/
5754

5855
import { SideEffects, VideoParams } from './util.js'

injected/src/features/duckplayer/video-overlay.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
/**
33
* @module Duck Player Video Overlay
44
*
5-
* @description
6-
*
75
* ## Decision flow for appending the Video Overlays
86
*
97
* We'll try to append the full video overlay (or small Dax icon) onto the main video player

injected/src/features/harmful-apis.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
/**
2-
* @module Harmful APIs protection
3-
*
4-
* @description
52
*
63
* This protection changes or disables some web APIs that are known to be harmful to privacy.
74
* When an API is not removed from the globals, its behaviour is changed to reduce the amount of information it can leak.
85
*
96
* ## Remote Config
10-
* The behaviour can be controlled with a remote config. Example:
11-
* ```json
12-
* [[include:injected/integration-test/test-pages/harmful-apis/config/apis.json]]```
7+
* The behaviour can be controlled with a remote config. [Example](../../integration-test/test-pages/harmful-apis/config/apis.json)
8+
*
9+
* @module Harmful APIs protection
1310
*
1411
*/
1512
import ContentFeature from '../content-feature'

0 commit comments

Comments
 (0)