Skip to content

Commit

Permalink
Refactor cookie settings logic and optimize iframe loading
Browse files Browse the repository at this point in the history
  • Loading branch information
felixaschultz committed Jul 21, 2024
1 parent ac795b4 commit bcd3a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cb.js
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ window.addEventListener("load", function () {

// Step 3: Remove the existing element
parent.removeChild(e.target.parentElement.parentElement.parentElement);
console.log(parent);
console.log(JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents);
}, 1000);

// Replace the old cookie with the new one
Expand Down

0 comments on commit bcd3a76

Please sign in to comment.