L
L
lexstile2020-02-09 21:46:48
JavaScript
lexstile, 2020-02-09 21:46:48

How to style a window to allow push notifications?

Is it possible to style such a window for yourself? (more or less make it look nice)
mobilewebpush.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kupletsky, 2020-02-09
@lexstile

It is not possible to style the native browser subscription window.
However, you can make your own subscription window (cut and style it however you like) and then call the native subscription window using the Notifications API .
Many commercial push notification services work according to this scheme.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question