当你的才华不能撑起你的野心时,就是你该选择学习的时候了!

摘要: function btnParsingOnClick() { $.ajax({ type: "GET", url: url + "?action=startparsing&r=" + Math.random(), dataType: "json", data: null, async: true, 阅读全文
posted @ 2020-07-22 17:49 hofmann 阅读(493) 评论(0) 推荐(0)
摘要: document.onvisibilitychange = function () { if (document.visibilityState 'hidden') { if (confirm("确认操作吗?应用程序正在执行,如果关闭窗口执行会终止。")) { return true; } else 阅读全文
posted @ 2020-07-22 17:47 hofmann 阅读(1022) 评论(0) 推荐(0)
摘要: window.onbeforeunload = function (event) { window.opener.location.href = window.opener.location.href; //self.opener.location.reload(true); }; 阅读全文
posted @ 2020-07-22 17:46 hofmann 阅读(1448) 评论(0) 推荐(0)