0
使用此代码在智能手机JavaScript弹出工作弹出的JavaScript一旦在每次访问
<script type="text/javascript">
var shouldOpenWindow = true;
function open_on_click(url,name) {
if(/Android|iPhone|BlackBerry/i.test(navigator.userAgent)) {
window.open('market://details?id=picture.profile.logo.football','picture profile logo football');
// if you want that only on first click the popup must be opened, and not on any subsequent clicks, then do this
shouldOpenWindow = !shouldOpenWindow;
}
}
</script>
<body onclick="open_on_click()">
我想使页面例如,每隔一小时
一次每个新会话 期间出现