javascript - How to refresh or redirect users after they allowed to get chrome browser notifications? -


is possible in chrome using javascript or php refresh page or redirect users specific page, after user pushed [allow] button in notification pop-up (example of notification request popup: http://prntscr.com/7ataxu)?

https://developer.mozilla.org/en-us/docs/web/api/notification

 notification.requestpermission(function (permission) {       // if user accepts, let's create notification       if (permission === "granted") {         //redirect using javascript here window.location       }     }); 

Comments

Popular posts from this blog

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -