在模态弹出窗口中向用户发送通知
这个问题可能与您的预期略有不同。我想知道每当用户上线以及连接哪个网站时,如何在用户的浏览器窗口上显示通知模式弹出窗口,并假设我是这些用户的互联网提供商。他们无需将任何内容下载到计算机上,并且只要上线就可以看到模式弹出通知窗口。
我怎样才能做到这一点?不,我不是在问代码,只是要遵循的路径。
提前致谢。
This question can be little different than you expect. I am wondering how would I show notification modal popup on a user's browser window whenever they come online and whichever the website they connect, and suppose I am the internet provider of these users. They don't have to download anything to their computer and they can see the modal popup notification window whenever they come online.
How can I do that ? Nope, I am not asking the codes, just a path to follow.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要代理所有 HTTP 连接并注入一小段 javascript。
如果 JS 检测到它位于顶部框架中,它会轮询服务器以了解是否有要显示的弹出窗口。如果有,则显示出来。
You need to proxy all their HTTP connection and inject a small piece of javascript.
If that JS detects it's in a top frame, it polls the server to know if there is a popup to display or not. If there is, display it.