![]() |
Web Push Notications like this
Hello guys,
I wonder how to show notifications like vporn(dot)com for visitors subscribe to browser notifications. (I mean the upper left notification about receive notificaciones of vporn when you enter to that page) There are many services like onesignal or pushcrew but they are not for adult. Do you know any service for adult? Sorry for my english. Best regards |
Couldn't get anything to pop up on my screen, but some this might interest you. https://developer.mozilla.org/en-US/...ifications_API
|
You can implement it yourself or use a platform. The browser notifications that you pointed to, are done in the browser, handling websockets.
There is another option (it is recommended to use both), to send OS X notifications. This will give the users notifications on their screen, even when they are not browsing the site. This will work as long as the tab or window is open (they can use other programs and receive notifications) In order to send notifications you will need to create events on a web socket server, that will keep those connections open. A simple implementation can be done in few lines using NodeJS (socket io). Setup example: * Http server - Web pages * Websocket server - NodeJS: Listen to messages from the broker, push web notifications * Background service 1 - Create messages based on user events, push then to the broker. * [probably not for adult content] Background service 2 - Listen to messages from the broker, push to mobile using Google and Apple endpoints. * Messaing broker - Redis, Queues etc. If you don't want to implement it yourself, you can look at 3rd party services. Usually they have API, client libraries and web platform where you can create messages. But anyway in order to automate it you will need to create the logic yourself. References (Google it, I can't post URLs): * Web API * OS X push notifications * Socket io * Redis, Queues * Heroku elements - They list many of those services under Messaging and Queues |
All times are GMT -7. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc