TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: AcrossTabs – Easy communication between cross-origin browser tabs

107 pointsby softvarabout 8 years ago

6 comments

mnarayan01about 8 years ago
Looks like a nice library, though using a default of `*` for Origin seems like an invitation for people to shoot themselves in the foot.
评论 #14041569 未加载
tiplusabout 8 years ago
I was puzzled when I first saw cross tab communication in impress.js for their slide control tab (slid.es) and I am still wondering about the proper use case of this feature today. Isn't this a security nightmare?
评论 #14041581 未加载
评论 #14043125 未加载
martin-adamsabout 8 years ago
I think I understand what this does, but I don't think I understand the use case. Does anyone have any real-world examples of where this helps?
评论 #14041913 未加载
评论 #14042469 未加载
评论 #14041872 未加载
zspitzerabout 8 years ago
Chrome and Firefox support BroadcastChannel<p><a href="https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;updates&#x2F;2016&#x2F;09&#x2F;broadcastchannel" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;updates&#x2F;2016&#x2F;09&#x2F;broadcastc...</a><p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;BroadcastChannel" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;BroadcastCh...</a>
评论 #14043497 未加载
ggaahhabout 8 years ago
This is great. I found this pattern very useful when communicating with iframes. I wrote a similar library a while back.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;taylorhakes&#x2F;postmessage-plus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;taylorhakes&#x2F;postmessage-plus</a>
ssalkaabout 8 years ago
I had something very similar to this in my backlog, as a weekend project. Glad to see someone else beat me to it - saves me time in both implementation and maintenance! I look forward to trying it out
评论 #14042356 未加载