Skip to content

Commit

Permalink
Detect if third party cookies are enabled (#1792)
Browse files Browse the repository at this point in the history
* detect 3rd party cookies

* detect if third party cookies are enabled

* undefined check

* undo unneeded webpack changes

* add comment to html file

* more check fn to seperate module

* changeset

* add a version number to the iframe path

* add v1 to webpack config

---------

Co-authored-by: Ravi <7014230+arelra@users.noreply.github.com>
  • Loading branch information
Jakeii and arelra authored Feb 19, 2025
1 parent f4ec859 commit 890ca37
Show file tree
Hide file tree
Showing 7 changed files with 314 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-balloons-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@guardian/commercial': minor
---

Detect third party cookies and set `3pc` as targeting
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "15.14.0",
"html-webpack-plugin": "5.6.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "~29.7.0",
Expand Down
Loading

0 comments on commit 890ca37

Please sign in to comment.