Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
06-04-2017, 05:04 PM | #1 |
Confirmed User
Industry Role:
Join Date: Feb 2014
Posts: 13
|
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 |
06-04-2017, 05:25 PM | #2 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 117
|
Couldn't get anything to pop up on my screen, but some this might interest you. https://developer.mozilla.org/en-US/...ifications_API
|
06-05-2017, 01:54 PM | #3 |
Confirmed User
Industry Role:
Join Date: Sep 2015
Posts: 88
|
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 |