Answers for "how to use yes no statement with alert in tampermonkey"

0

how to use yes no statement with alert in tampermonkey

var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
  alert("You proceed!")
} else {
  alert("You didnt proceed!")
}
Posted by: Guest on January-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language