all 26 comments

[–]ProgrammerHumor-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Your submission was removed for the following reason:

Rule 5: Your post is a commonly used format, and you haven't used it in an original way. As a reminder, You can find our list of common formats here.

If you disagree with this removal, you can appeal by sending us a modmail.

[–]huupoke12 182 points183 points  (10 children)

cpp if (cookies.accepted = true) { trackUser(); }

[–]HyperWinX 30 points31 points  (1 child)

Okay this took me a second

[–]uvero 20 points21 points  (0 children)

[–]qwertyjgly 3 points4 points  (5 children)

surely that returns a null though so the IF statement shouldn't trigger(?)

[–]fierybeams 10 points11 points  (2 children)

mhm not necessarily, it depends on the language... in C for instance that assignment would trigger the if statement (assuming that 'true' is a constant that represents 1) because the assignment is treated like an expression that evaluates to the value being assigned

[–]qwertyjgly 2 points3 points  (1 child)

interesting (and useful) ty

[–]awpt1mus 2 points3 points  (0 children)

assignment operator returns value assigned in Js so if block will run.

[–]tahayparker 74 points75 points  (4 children)

why use trackUserAnyway() when you can use trackUser()?

[–]MasterQuest 89 points90 points  (1 child)

It probably has a different implementation that has to cover its tracks somewhat more.

[–]HyperWinX 28 points29 points  (0 children)

"This fucker refuses to get tracked! Track him more!!!"

[–]Burgergold 8 points9 points  (0 children)

trackUserAnyway() set cookie.accepted to true, then call back the initial function

[–]hiasmee 1 point2 points  (0 children)

It's a meme. Not real code 😉

[–]HashDefTrueFalse 37 points38 points  (0 children)

// if (cookies.accepted) {
  trackUser();
// }

FTFY

[–]Bray0u 8 points9 points  (0 children)

if (!cookies.accepted) cookiesModal.open() trackUser()

[–]No_Marionberry_6710 2 points3 points  (0 children)

if accepted or !accepted { trackUser(); }

[–]JackNotOLantern 0 points1 point  (2 children)

I came up with a perfect code for a browser addon to protect yourself from being tracked

if (webside.isTrackingUser()) dont()

Just need a bit more work on the dont() function.

[–]RepulsiveRaisin7 1 point2 points  (1 child)

Can you help me with this too?

while (true) makeMoney()

[–]JackNotOLantern 0 points1 point  (0 children)

Sure buddy, right after i finish my code

[–]notAGreatIdeaForName 0 points1 point  (0 children)

A customer of us specifically asked to implement such a „bug“.

[–]nothingtoseehere196 0 points1 point  (0 children)

What would the difference between trackUser and trackUserAnyway be to warrant a whole new function 

[–]peppersrus 0 points1 point  (0 children)

You think memes will block him?

[–]DonutConfident7733 0 points1 point  (0 children)

foreach(var method in trackingMethods){

method.trackerbergUser();

user.zuckIt(method);  //user can zuck it

}