Re:Meta found 'covertly tracking' Android users through Inst...
by kfkdjajgjic on Wednesday June 04, 2025 @12:46PM
(#44182690)
if (cookies.accepted) {
trackUser();
} else {
trackUserAnyway();
}
[ Parent
| on HN ]
Re:Meta found 'covertly tracking' Android users through Inst...
by thinkingemote on Wednesday June 04, 2025 @01:19PM
(#44183107)
I recently looked at how websites handled these simple "accept cookies" buttons - turns out lots of them did them like your example but more like {trackUser(); } else {trackUser(); } The only effect was to close the popup.
Even some (most?) off the shelf cookie consent libraries don't handle the turning the actual cookies off.
Re:Meta found 'covertly tracking' Android users through Inst...
by esalman on Wednesday June 04, 2025 @12:53PM
(#44182791)
else { trackUserCovertly(); }
Re:Meta found 'covertly tracking' Android users through Inst...
by benbristow on Wednesday June 04, 2025 @01:08PM
(#44182980)
if (cookies.accepted) { trackUser(); } else { isAbTestEnabled() ? trackUserCovertly() : trackUserAnyway(); }
Re:Meta found 'covertly tracking' Android users through Inst...
by elpakal on Wednesday June 04, 2025 @01:21PM
(#44183141)
simplify
if (true) { trackUser(); }
Re:Meta found 'covertly tracking' Android users through Inst...
by crisnoble on Wednesday June 04, 2025 @01:25PM
(#44183205)
trackUser();
Re:Meta found 'covertly tracking' Android users through Inst...
by tobyjsullivan on Wednesday June 04, 2025 @01:41PM
(#44183417)
lgtm. Ship it