HNHacker News
TopNewBestAskShowJobs

softvar

211 karma · joined October 7, 2013

Software Engineer, love programming meaningfull web apps.Have unlimited passion for latest technologies :)
submissionscomments
softvar··on [dead]
Let me know if you want to know the details. Will write a detailed blog for it.
softvar··on Everything you need to know about Web Storage
This is really worth mentioning.
softvar··on Everything you need to know about Web Storage
That's on my list. Will add.
softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
Does that mean, the library should not act when an origin is not specified and throw some kinda message in the console?
softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
Does that mean, the library should not act when an origin is not specified and throw some kinda message in the console?

How can it be enforced? Any suggestions?

Users can also make it a bit more complicated while using `*` to get hacked by accepting responses which match some kinda pattern(it's not bullet-proof though) and simply discarding others.

softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
Yea, that's a good use case you mentioned regarding the browser-build application.

Why we want this library, at Wingify, is something related to heatmaps and showing previews of changes made to the site in new tabs. Please read the detailed explanation I gave to @martin-adams in the above comment.

softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
Yes, there are many. I'm a developer at Wingify, an A/B Testing tool and we are using this library I created a few days back. We have something called heatmaps - https://vwo.com/features/#heatmaps-clickmaps

To view a heatmap, user has to enter a URL, select date-range(Optional), and select the segmentation(eg. Direct, Referral, Location, Device, etc.)(optional).

A new tab is opened up with the specified URL each time on clicking the generate button.

So, let's say, you have to view heatmap of your site for:

1.The last week and only for those who live in US 2. The last week and only for those who uses Windows 3. The last month and who came directly to your site 4. The entire duration of the campaign and for all users

Now, for each configuration, there's an opened tab with the specified URL opened in it and the data for the requested segments and dates.

To pass on the data to and fro from one tab to another, and to track the status of all tabs(active/close), to notify other tabs when one gets closed, to notify all the children tabs when the opener tab gets closed, to send a message to a specific tab(eg. change segment) and to send a message to all tabs(eg. fetch data for new date applied), this library comes in handy. All this can be achieved with its simple API.

Hope you get the gist now.

softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
Glad to help!
softvar··on Show HN: AcrossTabs – Easy communication between cross-origin browser tabs
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
softvar··on Show HN: Curated List of Awesome Products Made by Female Founders
True that. I too wanted to show my love towards awesome products. Female filter was fast to curate first :)
softvar··on 2048, success and me
Awesome success story ! Inspiring !!
softvar··on Atom
Linux Build??....waiting for it
softvar··on Butterfly: Your everyday terminal in your web browser
Really Awesome! No more switching back and forth