HN user

softvar

211 karma

Software Engineer, love programming meaningfull web apps.Have unlimited passion for latest technologies :)

Posts66
Comments13
View on HN
news.ycombinator.com 2y ago

Ask HN: Is YouTube Down?

softvar
1pts5
github.com 5y ago

Life's Countdown Begins

softvar
1pts0
facebook.github.io 5y ago

Planout: Developer Friendly Experimentation Tool by Facebook

softvar
3pts0
engineering.wingify.com 5y ago

Migrating Towards Yarn and Webpack

softvar
1pts0
medium.com 5y ago

Browser Extensions Can Support Single-Page-Applications

softvar
2pts0
varunmalhotra.xyz 5y ago

Show HN: Enhanced GitHub Extension for Browsers

softvar
3pts0
github.com 6y ago

Show HN: Lua Pubsub client driver for the ngx_lua based on the cosocket API

softvar
3pts0
github.com 6y ago

Show HN: Front end application scaffolding to start immediate development

softvar
1pts0
news.ycombinator.com 7y ago

Ask HN: Is GitHub Down?

softvar
1pts3
news.ycombinator.com 8y ago

Can Machine Learning predict the future of this universe?

softvar
1pts0
news.ycombinator.com 8y ago

Ask HN: How to get good remote jobs?

softvar
1pts0
news.ycombinator.com 8y ago

Ask HN: How to begin and implement Machine learning as a JavaScript Developer?

softvar
3pts0
translatr.varunmalhotra.xyz 8y ago

Translatr: translate to multiple languages at once

softvar
1pts0
github.com 8y ago

Show HN: Chrome Extension to copy GitHub file content and download file

softvar
2pts0
www.storypick.com 8y ago

American Billionaire Pays to Be Killed to Have Brain Downloaded to Computer

softvar
2pts0
github.com 8y ago

Multi-threading library in JavaScript using web-workers

softvar
1pts0
news.ycombinator.com 8y ago

Ask HN: What's happening to GitHub[status down] these days?

softvar
1pts0
github.com 8y ago

Show HN: Super-Workers – library to execute multiple parallel tasks on front-end

softvar
2pts0
stackoverflow.com 8y ago

Creating folders on GitHub.com repo without using Git

softvar
1pts0
news.ycombinator.com 8y ago

Ask HN: What are the advantages of using single file components(SFCs)?

softvar
4pts0
github.com 8y ago

Everything you need to know about Web Storage

softvar
14pts4
github.com 8y ago

Show HN: Highly performant, lightweight and configurable lazy loader in pure JS

softvar
4pts0
github.com 9y ago

Show HN: Secure localStorage data with high level of encryption and compression

softvar
2pts0
news.ycombinator.com 9y ago

Ask HN: How do TCP/IP packets work?

softvar
1pts2
news.ycombinator.com 9y ago

Ask HN: What could Elon Musk do to protect humanity from AI?

softvar
1pts3
news.ycombinator.com 9y ago

Ask HN: Why do companies need Cover Letter along with CV?

softvar
1pts4
github.com 9y ago

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

softvar
107pts25
www.quora.com 9y ago

Is Quora Down? Getting 504. Gateway Timeout

softvar
3pts1
hackernoon.com 9y ago

Guide to Migrate from EC2 to Droplets

softvar
1pts0
medium.com 9y ago

Guide to Migrate from EC2 to Droplets

softvar
1pts0
[dead] 8 years ago

Let me know if you want to know the details. Will write a detailed blog for it.

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.

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.