Forgive me for hijacking this thread into technical support territory, but I've found documentation on this stuff hard to come by.
Forgive me for hijacking this thread into technical support territory, but I've found documentation on this stuff hard to come by.
It's OK, I'm sure the mods will take care of it.
EDIT: I know this isn't reddit but I couldn't resist. Dan it's admirable how nice and down-to-earth you are in spite of all the stuff you see here everyday...huge thanks for all your work in making HN what it is.
You'd have to synchronize things yourself to prevent tripping over yourself. Ditto for firing off functions in response to events (i.e. Poll loop and fire handler).
It's very easy to check for localStorage support (some people disable it just like cookies) and it works, I think, everywhere except Opera, in almost every mainstream version.
(I use it a bunch).
Edit:
Yep
w2 = window.open('/');
w2.document.click()
Is fine if complying with the sameOrigin policyhttps://developer.mozilla.org/en-US/docs/Web/API/Window/open
Save objects to local storage:
localStorage.name = "dang";
alert(localStorage.name);
You save stuff to localstorage in one tab, and in other tab you listen to "storage" event:
window.addEventListener('storage', function() {..})
[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage...[1] https://developer.mozilla.org/en-US/docs/Web/Events/storage
Another option is shared web workers, though I never used it.
[2] http://stackoverflow.com/questions/12107424/communication-be...
[3] https://developer.mozilla.org/en-US/docs/Web/API/SharedWorke...
I confused things in my other comment (I deleted it)
It's all done by keyboard shortcuts, which means the mapping to keys is pretty complicated and not as consistent as I'd like.
Edit: It's also written in a Lisp we made that only three of you have ever heard of :)
And you can compile that Lisp to JavaScript to build the Chrome extension?
Dan and Scott, though, and in this case mostly Scott.