amiregelz
amiregelz

Reputation: 1845

Is it possible to create a frameless screen sharable window object from a chrome extension?

I want to share the content of a chrome tab without its frame (url, title, tabs, etc). I know it's possible to create a window that has no address bar with a Chrome extension, but it still has a title. Is it possible to create a window that has no frame at all with a Chrome extension?

Upvotes: 1

Views: 512

Answers (1)

MimiEAM
MimiEAM

Reputation: 2630

Yes, if you don't mind having that tab opened in a new window. Just set the window type to popup. See https://developer.chrome.com/docs/extensions/reference/windows/#method-create for more details

chrome.windows.create({
  url: 'http://www.google.com',
  type: 'popup'
})

It will look like so enter image description here

Upvotes: 1

Related Questions