new window size
This commit is contained in:
1 parent
5277357240
commit
e6d3d9daa5
1 file changed
+5
-1
@@ -312,7 +312,11 @@ async function openNewTab(url, windowId) {
|
||||
}
|
||||
|
||||
async function openNewWindow(url) {
|
||||
await browser.windows.create({ url: url });
|
||||
await browser.windows.create({
|
||||
url: url,
|
||||
width: 1280,
|
||||
height: 960
|
||||
});
|
||||
return { success: true };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user