问题描述
我不明白为什么它不起作用,在 js 上它通常起作用。
我的意思是它有什么问题??当一个盒子打开时它应该直接返回true
// ==UserScript==
// @name Moderate Faster
// @namespace http://tampermonkey.net/
// @version 0.1
// @description A tool to moderate faster for moderators,it bypass alert Box
// @author Kai Smith
// @match *://*stackoverflow.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
window.confirm = function myConfirm() {
return true;
}
const a = confirm("Are you sure")
console.log(a)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)