beaker icon indicating copy to clipboard operation
beaker copied to clipboard

window.open background

Open HughIsaacs2 opened this issue 5 years ago • 2 comments

This is one part feature request, and one part discussion as I'm not even sure this should be done, but I think it's worth talking about.

Google Chrome has a non-standard web background window API that was forgotten by everyone except possibly the Chrome team, for hosted apps.

The documentation for it was removed from the official site, but luckily there's a backup of it on the Internet Archive, and the API still works in hosted web apps on Chrome till this day. https://web.archive.org/web/20130402163034/https://developers.google.com/chrome/apps/docs/background

I was thinking it fits Beaker's Background Tabs feature and might be a great way to let web apps programatically run in the background [with permission, on user interaction].

Again though, I'm not sure this is a good idea.

HughIsaacs2 avatar Sep 07 '20 03:09 HughIsaacs2

Never heard of this in Chrome, it sounds really useful. Do you know why they removed the docs for it? Feels like they may want to phase it out.

jolindroth avatar Sep 15 '20 06:09 jolindroth

It's definitely something being phased out. It predates Service Workers and has only stuck around so long because Google Drive takes advantage of it.

I was just thinking it might be good to support as it's prior art instead of making something new (if that's on the table).

HughIsaacs2 avatar Sep 19 '20 15:09 HughIsaacs2