Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
1–10 of 27 posts
Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#2Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#3Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#4Looks like a nice library, though using a default of `*` for Origin seems like an invitation for people to shoot themselves in the foot.
Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#5I 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?
All boils down the sender using a specific target, and the receiver remembering to check the origin.
Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#6Looks like a nice library, though using a default of `*` for Origin seems like an invitation for people to shoot themselves in the foot.
Yea, that's totally true. I would recommend using an origin property to be used every time an instance of the Library is created. Please refer: https://github.com/wingify/across-tabs#usage
Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#7Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#8I 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?
Looking at Wingify's website it seems they're doing something similar with A/B testing - they (presumably) have an app that sits in one tab and a two of copies of the target site in two more tabs, so changes made in their app are reflected in the two versions of the target site. That's a total guess though.
Re: Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
#9I 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?