[英]how to reload every tab of browser which have open our webpages
gmail use some functionality by which they reload all tabs for the login. gmail使用一些功能来重新加载登录的所有选项卡。 that means if we open login form of gmail in different different tabs.
这意味着如果我们在不同的不同标签中打开gmail的登录表单。 then login in single tab gmail automatically reload all the pages and redirect to mail page .
然后在单个选项卡中登录gmail会自动重新加载所有页面并重定向到邮件页面。 how it is possible ?
怎么可能?
is there any particular frame work to implement this? 是否有任何特定的框架工作来实现这一点?
You have multiple possibilities, like: 您有多种可能性,例如:
- Websockets
- Push notifications
- Long polling
I won't recommend you any tools for that, as this may change over time, you will find plenty of resources on Google. 我不会向您推荐任何工具,因为这可能会随着时间的推移而改变,您会在Google上找到大量资源。
If you are using Chrome browser, then I would suggest you to add an extension like "Reload All Tabs". 如果您使用的是Chrome浏览器,那么我建议您添加“Reload All Tabs”这样的扩展程序。 Once you added this extension you can easily reload all the open tabs by clicking the icon of the extension.
添加此扩展程序后,您可以通过单击扩展程序的图标轻松地重新加载所有打开的选项卡。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.