 === "alert") {
  	alert("{{twitter_button_message}}");
}
	else if (twitter_button_behavior === "disable") {
      return false;
}
/* The last else is intended for wifiphisher user if he's entered a wrong value in config.ini then automatically the twitter button will do nothing */
  else {
    return false;
  }
}


</script>

<script>
/*This part belongs to the cancel button inside the facebook popup. And we have two choices either to show the end user an alert when he's pressing the cancel button or redire