I am trying to capture events on localStorage using an event listener. As storage event listeners only fire if triggered from a page other than the active one, I need a dummy page with which to bind my listener that stays in the background. Thus any storage events triggered by what my user is doing get captured by the always open dummy page. Doing this:
window.open("NewPage.aspx").blur(); //NewPage.aspx being my dummy page that begins listening for storage events on open
window.focus();
...works on my desktop browser, or at least it does on Chrome. However, on webkit based browsers, NewPage.aspx opens as the focused page or as a popup that you must close to go back to using the site.
Anyone know how to open a window in the background on web kit based browsers?