📜  如何在 Tampermonkey 中使用带有警报的 yes no 语句 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:01.740000             🧑  作者: Mango

代码示例1
var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
  alert("You proceed!")
} else {
  alert("You didnt proceed!")
}