Live data from Hacker News

Inter-window messaging using localStorage

bens.me.uk

21–30 of 30 posts

Re: Inter-window messaging using localStorage

#21
post #6

Earlier quoted context omitted.

I am disappointed I did not have an original thought. Nothing is new in this world. I propose we rename it the "Web Storage And Messaging" API.

Maybe you didn't invent the idea, but your post will likely introduce the concept to many folks. I believe this is equally valuable. Thanks.

Education equally as valuable as innovation? Why are you comparing the two at all? Apples and oranges.

Re: Inter-window messaging using localStorage

#23
post #21
post #6

Earlier quoted context omitted.

Maybe you didn't invent the idea, but your post will likely introduce the concept to many folks. I believe this is equally valuable. Thanks.

Education equally as valuable as innovation? Why are you comparing the two at all? Apples and oranges.

[deleted]

Re: Inter-window messaging using localStorage

#24
post #21
post #6

Earlier quoted context omitted.

Maybe you didn't invent the idea, but your post will likely introduce the concept to many folks. I believe this is equally valuable. Thanks.

Education equally as valuable as innovation? Why are you comparing the two at all? Apples and oranges.

I don't believe there was an explicit comparison being made. You are reading too much into it.

Re: Inter-window messaging using localStorage

#25
post #2

This isn't abuse, it's what the storage event was specifically made for. Facebook, Google, etc. have been using this event to update common state information between tabs for quite a while.

I am disappointed I did not have an original thought. Nothing is new in this world. I propose we rename it the "Web Storage And Messaging" API.

Yup. We use it in our Backbone.js app to allow users to open links in new tabs and for changes in those tabs to propagate back too.

For me it is awesome to use PushState and LocalStorage in a client side app and all the while the user thinks they are using a "traditional" server side app.

Re: Inter-window messaging using localStorage

#27
post #2

This isn't abuse, it's what the storage event was specifically made for. Facebook, Google, etc. have been using this event to update common state information between tabs for quite a while.

I am disappointed I did not have an original thought. Nothing is new in this world. I propose we rename it the "Web Storage And Messaging" API.

I learned something new today because of your post. Thanks

Re: Inter-window messaging using localStorage

#28
This method may allow message passing between tabs, and windows, but it does not do so between iFrames. Two iFrames on the tab will not trigger storage events on each other.

In my opinion this is a bug that should be fixed,

https://code.google.com/p/chromium/issues/detail?id=177342

Re: Inter-window messaging using localStorage

#29
post #2

This isn't abuse, it's what the storage event was specifically made for. Facebook, Google, etc. have been using this event to update common state information between tabs for quite a while.

I am disappointed I did not have an original thought. Nothing is new in this world. I propose we rename it the "Web Storage And Messaging" API.

Also you probably broke the law

http://www.google.com/patents/US7730419

http://www.google.com/patents/US7426699

(ok they're for cookies but you get the idea)

Post reply on HN