Ashraf Bashir
Ashraf Bashir

Reputation: 9804

How to hide browser window in chrome extension?

How to hide (Not Minimize) a window in chrome extensions
given its windowId, or chrome.window object ?

Here's my code:

chrome.windows.create(
    {
        url:"http://www.google.com", 
        type:"panel",
        left:0, 
        top:0, 
        focused: false,
        width: 200, 
        height: 400
    }, function(createdWindow) {
        // How to hide this window object; having its object handler "createdWindow" ?
    }
);

Upvotes: 2

Views: 2601

Answers (1)

Ashraf Bashir
Ashraf Bashir

Reputation: 9804

For those who are interested, this cannot be done !

Upvotes: 2

Related Questions