如何生成小程序二维码-每二十四小时弹一次窗口

--------

如何生成小程序二维码

-------

你能够创建一个ads.js,下面就是这个JS文档的编码.把这个文档启用要你需要弹出广告宣传的网页页面便可

function openpopup(){
document.writeln(" SCRIPT language=JavaScript
document.writeln("window.open(''script\
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

(){
if (get_cookie(''popped'')==''''){
openpopup()
document.cookie="popped=yes"
}
}<()

---------

如何生成小程序二维码

------------