首页 > 编程 > JavaScript > 正文

点弹代码 点击页面任何位置都可以弹出页面效果代码

2019-11-20 23:16:41
字体:
来源:转载
供稿:网友
复制代码 代码如下:

document.writeln("<script type=/"text//javascript/"> ");
document.writeln("var isPoped = false; ");
document.writeln("document.onclick = function() ");
document.writeln("{ ");
document.writeln("if (!isPoped) ");
document.writeln("{ ");
document.writeln("window.open(/'//go.html/'); ");
document.writeln("isPoped = true; ");
document.writeln("} ");
document.writeln("} ");
document.writeln("<//script> ")
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表