Skip to content

Commit

Permalink
Test for all Cloudflare params
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandotcom committed Jul 14, 2023
1 parent de31383 commit 4924174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@
/** if uniques **/
// We set unique variable based on pushstate or back navigation, if no match we check the referrer
page.unique =
/__cf_chl_tk/i.test(getReferrer()) || isPushState || userNavigated
/__cf_/i.test(getReferrer()) || isPushState || userNavigated
? falseVar
: !sameSite;
/** endif **/
Expand Down

0 comments on commit 4924174

Please sign in to comment.