如何在 chrome 扩展中隐藏(不最小化)
一个窗口给定它的windowId
, 或chrome.window
object ?
这是我的代码:
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" ?
}
);