Onesignal Web-Push close Browser Prompt
up vote
0
down vote
favorite
If the user wants to subscribe to the web push notification, a prompt appears in the browser. How can I intercept that the user clicks on the "x" to close?
The approval and rejection by button can be intercepted as follows, but unfortunately not the "x":
OneSignal.push(function () {
OneSignal.on('notificationPermissionChange', function(permissionChange) {
var currentPermission = permissionChange.to;
I hope I expressed myself clearly ;-)
Thanks!
prompt onesignal web-push
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
If the user wants to subscribe to the web push notification, a prompt appears in the browser. How can I intercept that the user clicks on the "x" to close?
The approval and rejection by button can be intercepted as follows, but unfortunately not the "x":
OneSignal.push(function () {
OneSignal.on('notificationPermissionChange', function(permissionChange) {
var currentPermission = permissionChange.to;
I hope I expressed myself clearly ;-)
Thanks!
prompt onesignal web-push
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
If the user wants to subscribe to the web push notification, a prompt appears in the browser. How can I intercept that the user clicks on the "x" to close?
The approval and rejection by button can be intercepted as follows, but unfortunately not the "x":
OneSignal.push(function () {
OneSignal.on('notificationPermissionChange', function(permissionChange) {
var currentPermission = permissionChange.to;
I hope I expressed myself clearly ;-)
Thanks!
prompt onesignal web-push
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If the user wants to subscribe to the web push notification, a prompt appears in the browser. How can I intercept that the user clicks on the "x" to close?
The approval and rejection by button can be intercepted as follows, but unfortunately not the "x":
OneSignal.push(function () {
OneSignal.on('notificationPermissionChange', function(permissionChange) {
var currentPermission = permissionChange.to;
I hope I expressed myself clearly ;-)
Thanks!
prompt onesignal web-push
prompt onesignal web-push
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 8 at 8:33
Bondscoach
1
1
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Bondscoach is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Bondscoach is a new contributor. Be nice, and check out our Code of Conduct.
Bondscoach is a new contributor. Be nice, and check out our Code of Conduct.
Bondscoach is a new contributor. Be nice, and check out our Code of Conduct.
Bondscoach is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203997%2fonesignal-web-push-close-browser-prompt%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password