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()">
我想使頁面例如,每隔一小時
一次每個新會話 期間出現