pushpad

PushPad: Chrome doesn't display push-notifications

北慕城南 提交于 2019-12-12 02:15:01
问题 This question results from following question (see comment section): PushPad: Subscribe is removed after site refresh I've got a problem using PushPad. I've created a project, implemented the code and so on. My problem is that Chrome does not display push-notifications I sent (desktop and mobile version) . Using Firefox everything works fine. I get notifications displayed in the second I sent them. After some time, I found the Function "Emulate Push Event" in the Chrome Developer Tool

PushPad: Subscribe is removed after site refresh

醉酒当歌 提交于 2019-12-02 03:36:43
问题 I've integrated PushPad and managed to get it working for static Push's. Now I wanted to combine it with some PHP and Javascript-Functions to make it dynamic. Here is my code: <script> (function(p,u,s,h,x){p.pushpad=p.pushpad||function(){(p.pushpad.q=p.pushpad.q||[]).push(arguments)};h=u.getElementsByTagName('head')[0];x=u.createElement('script');x.async=1;x.src=s;h.appendChild(x);})(window,document,'https://pushpad.xyz/pushpad.js'); //Install Pushpad pushpad('init', myprojectnumber); alert(

PushPad: Subscribe is removed after site refresh

喜你入骨 提交于 2019-12-02 02:31:39
I've integrated PushPad and managed to get it working for static Push's. Now I wanted to combine it with some PHP and Javascript-Functions to make it dynamic. Here is my code: <script> (function(p,u,s,h,x){p.pushpad=p.pushpad||function(){(p.pushpad.q=p.pushpad.q||[]).push(arguments)};h=u.getElementsByTagName('head')[0];x=u.createElement('script');x.async=1;x.src=s;h.appendChild(x);})(window,document,'https://pushpad.xyz/pushpad.js'); //Install Pushpad pushpad('init', myprojectnumber); alert("Pushpad initialised"); //Check subscribe-status pushpad('status', function (isSubscribed, tags){ //User