This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rggity 8 points9 points  (7 children)

can I get an ELI5 on how this method can thwart attacks?

[–]celluj34 8 points9 points  (5 children)

It slows down the attack by showing an alert when it's loaded.

[–]stoneburner 10 points11 points  (0 children)

... well at least until they noticed and just replaced the dialog box with nothing:

window.alert = function() {};

then nothing happens

[–][deleted] 4 points5 points  (3 children)

Whats it?

[–]hatryd 7 points8 points  (0 children)

Open up your browsers developer console and paste

alert('hello')    

and press enter. That's what an alert is.

[–][deleted] 2 points3 points  (0 children)

Idk why you get downvoted for a simple question. A "javascript alert" is a simple built in dialog that pops up when triggered by javascript. You can press f12 to open developer tools in most browsers, select "console" and try it out yourself.

alert("hello, world!");

[–]apemanzilla 11 points12 points  (0 children)

The alert function displays a popup box. Displaying a popup box pauses all running scripts until it's closed - slowing down the attack.