One million clicks
F12 code:
var clicks=0
$(function() {
$("#cookie")
.mousedown(function() {
$(this).width('350px').height('350px');
})
.mouseup(function() {
$(this).width('375px').height('375px');
clicks++;
$("#clickcount").text(clicks);
if(clicks >= 1000000){
var form = $('<form action="" method="post">' +
'<input type="text" name="clicks" value="' + clicks + '" hidden/>' +
'</form>');
$('body').append(form);
form.submit();
}
});
});
Post parameter
To click one million times, if(clicks >= 1000000); it can be seen that we need to pass in the parameter clicks && >=1000000;
so, Hackerbar post passes the parameter clicks=1000001 to
get the flag{Not_C00kI3Cl1ck3r}