File tree Expand file tree Collapse file tree 8 files changed +39
-9
lines changed Expand file tree Collapse file tree 8 files changed +39
-9
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ jobs:
44
44
45
45
- name : Collect commit ranges
46
46
run : |
47
- echo "CHANGELOG=$(bash ./scripts/changelog.sh)" >> $GITHUB_OUTPUT
47
+ echo "CHANGELOG=$(bash ./scripts/changelog.sh)" > ${{ github.workspace }}-CHANGELOG.txt
48
48
49
49
- name : Create Release
50
50
uses : softprops/action-gh-release@v1
51
51
env :
52
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
53
with :
54
- body_path : ${{ steps.version.outputs.CHANGELOG }}
54
+ body_path : ${{ github.workspace }}-CHANGELOG.txt
55
55
draft : false
56
56
prerelease : false
57
57
tag_name : ${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change 2717
2717
* @property {boolean} isThirdPartyFrame
2718
2718
*/
2719
2719
2720
+ function initialShouldBlockTrackerCookie () {
2721
+ const injectName = "chrome-mv3";
2722
+ return injectName === 'chrome-mv3'
2723
+ }
2724
+
2720
2725
// Initial cookie policy pre init
2721
2726
let cookiePolicy = {
2722
2727
debug: false,
2723
2728
isFrame: isBeingFramed(),
2724
2729
isTracker: false,
2725
2730
shouldBlock: true,
2726
- shouldBlockTrackerCookie: true ,
2731
+ shouldBlockTrackerCookie: initialShouldBlockTrackerCookie() ,
2727
2732
shouldBlockNonTrackerCookie: false,
2728
2733
isThirdPartyFrame: isThirdPartyFrame(),
2729
2734
policy: {
Original file line number Diff line number Diff line change @@ -10554,13 +10554,18 @@
10554
10554
* @property {boolean} isThirdPartyFrame
10555
10555
*/
10556
10556
10557
+ function initialShouldBlockTrackerCookie () {
10558
+ const injectName = "integration";
10559
+ return injectName === 'chrome-mv3'
10560
+ }
10561
+
10557
10562
// Initial cookie policy pre init
10558
10563
let cookiePolicy = {
10559
10564
debug: false,
10560
10565
isFrame: isBeingFramed(),
10561
10566
isTracker: false,
10562
10567
shouldBlock: true,
10563
- shouldBlockTrackerCookie: true ,
10568
+ shouldBlockTrackerCookie: initialShouldBlockTrackerCookie() ,
10564
10569
shouldBlockNonTrackerCookie: false,
10565
10570
isThirdPartyFrame: isThirdPartyFrame(),
10566
10571
policy: {
Original file line number Diff line number Diff line change 2751
2751
* @property {boolean} isThirdPartyFrame
2752
2752
*/
2753
2753
2754
+ function initialShouldBlockTrackerCookie () {
2755
+ const injectName = "firefox";
2756
+ return injectName === 'firefox'
2757
+ }
2758
+
2754
2759
// Initial cookie policy pre init
2755
2760
let cookiePolicy = {
2756
2761
debug: false,
2757
2762
isFrame: isBeingFramed(),
2758
2763
isTracker: false,
2759
2764
shouldBlock: true,
2760
- shouldBlockTrackerCookie: true ,
2765
+ shouldBlockTrackerCookie: initialShouldBlockTrackerCookie() ,
2761
2766
shouldBlockNonTrackerCookie: false,
2762
2767
isThirdPartyFrame: isThirdPartyFrame(),
2763
2768
policy: {
Original file line number Diff line number Diff line change @@ -10554,13 +10554,18 @@
10554
10554
* @property {boolean} isThirdPartyFrame
10555
10555
*/
10556
10556
10557
+ function initialShouldBlockTrackerCookie () {
10558
+ const injectName = "integration";
10559
+ return injectName === 'chrome-mv3'
10560
+ }
10561
+
10557
10562
// Initial cookie policy pre init
10558
10563
let cookiePolicy = {
10559
10564
debug: false,
10560
10565
isFrame: isBeingFramed(),
10561
10566
isTracker: false,
10562
10567
shouldBlock: true,
10563
- shouldBlockTrackerCookie: true ,
10568
+ shouldBlockTrackerCookie: initialShouldBlockTrackerCookie() ,
10564
10569
shouldBlockNonTrackerCookie: false,
10565
10570
isThirdPartyFrame: isThirdPartyFrame(),
10566
10571
policy: {
Original file line number Diff line number Diff line change 2758
2758
* @property {boolean } isThirdPartyFrame
2759
2759
*/
2760
2760
2761
+ function initialShouldBlockTrackerCookie ( ) {
2762
+ const injectName = "windows" ;
2763
+ return injectName === 'chrome-mv3'
2764
+ }
2765
+
2761
2766
// Initial cookie policy pre init
2762
2767
let cookiePolicy = {
2763
2768
debug : false ,
2764
2769
isFrame : isBeingFramed ( ) ,
2765
2770
isTracker : false ,
2766
2771
shouldBlock : true ,
2767
- shouldBlockTrackerCookie : true ,
2772
+ shouldBlockTrackerCookie : initialShouldBlockTrackerCookie ( ) ,
2768
2773
shouldBlockNonTrackerCookie : false ,
2769
2774
isThirdPartyFrame : isThirdPartyFrame ( ) ,
2770
2775
policy : {
Original file line number Diff line number Diff line change @@ -12,13 +12,18 @@ import { isTrackerOrigin } from '../trackers.js'
12
12
* @property {boolean } isThirdPartyFrame
13
13
*/
14
14
15
+ function initialShouldBlockTrackerCookie ( ) {
16
+ const injectName = import . meta. injectName
17
+ return injectName === 'chrome' || injectName === 'firefox' || injectName === 'chrome-mv3'
18
+ }
19
+
15
20
// Initial cookie policy pre init
16
21
let cookiePolicy = {
17
22
debug : false ,
18
23
isFrame : isBeingFramed ( ) ,
19
24
isTracker : false ,
20
25
shouldBlock : true ,
21
- shouldBlockTrackerCookie : true ,
26
+ shouldBlockTrackerCookie : initialShouldBlockTrackerCookie ( ) ,
22
27
shouldBlockNonTrackerCookie : false ,
23
28
isThirdPartyFrame : isThirdPartyFrame ( ) ,
24
29
policy : {
You can’t perform that action at this time.
0 commit comments