[Solved] Load javascript after 2 clicks on website


$(function(){
  var count = 1
  $(document).click(function(){
    if(count<=2){
      count+=1;
    }
    else{
      alert("already clicked two times");
    }   
  });
})

this will start showing the alert after the 2nd click. You can write the code to load the javascript instead of this alert.

4

solved Load javascript after 2 clicks on website