13

The Google Hangouts extension has a panel that shows up outside of the Chrome UI.

It is sort of like a notification but not. I don't see anything in the Extension Developer Docs that describes an API to make this work. Is this a Google-specific hack they're doing? Is there something in the experimental APIs that I'm missing?

satoru
  • 29,529
  • 29
  • 85
  • 136
Rui Jiang
  • 1,632
  • 1
  • 15
  • 24
  • 1
    Related: [How does extension chat for google create the panel window?](http://stackoverflow.com/questions/11614493/how-does-extension-chat-for-google-create-the-panel-window "How does extension chat for google create the panel window?") – Rob W Oct 25 '13 at 08:37

1 Answers1

22

It is an options of chrome.windows.create. Make sure you set type to panel.

chrome.windows.create({ url: 'https://mobile.twitter.com/', type: 'panel' });

panel may not be supported on all platforms and you may have to specifically enable panels in Chrome Flags chrome://flags/#enable-panels.

abraham
  • 44,161
  • 9
  • 92
  • 140