on Mobile Chrome browser New Window does not open on Onclick. Notification appers but onclick it does nothing on mobile chome browser. but in computer browser it works.
I am using this code:
tag: 'p'+lsobj.dta[i].r,
body: lsobj.dta[i].m,
icon: lsobj.dta[i].i,
requireInteraction: (uam == 1) ? true : false,
timeout: (uam == 1) ? 0 : 10000,
onClick: function () {
var u = this.tag;
u = "https://www.mydomainname.net/noty.php?ref=" + u.substr(1);
window.open(u);
window.focus();
},
onClose: function () {
this.close();
},
on Mobile Chrome browser New Window does not open on Onclick. Notification appers but onclick it does nothing on mobile chome browser. but in computer browser it works.
I am using this code:
tag: 'p'+lsobj.dta[i].r, body: lsobj.dta[i].m, icon: lsobj.dta[i].i, requireInteraction: (uam == 1) ? true : false, timeout: (uam == 1) ? 0 : 10000, onClick: function () { var u = this.tag; u = "https://www.mydomainname.net/noty.php?ref=" + u.substr(1); window.open(u); window.focus(); }, onClose: function () { this.close(); },
Waiting for your reply