Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome extension 如何在chrome extension中设置弹出窗口的大小_Google Chrome Extension_Popupwindow_Window Resize - Fatal编程技术网

Google chrome extension 如何在chrome extension中设置弹出窗口的大小

Google chrome extension 如何在chrome extension中设置弹出窗口的大小,google-chrome-extension,popupwindow,window-resize,Google Chrome Extension,Popupwindow,Window Resize,嗨,我需要知道在chrome extension中设置弹出窗口大小的语法 这是我用来打开弹出窗口的语法。请帮我设置窗口的大小。我需要减小大小。 这是我的语法 chrome.windows.create({url : "userinfo.html"}); 请帮帮我试试这个 chrome.windows.create({url : "userinfo.html",type: "popup", height: 200, width:200}); 请参阅所有可用属性,然后重试此操作 chrome.w

嗨,我需要知道在chrome extension中设置弹出窗口大小的语法 这是我用来打开弹出窗口的语法。请帮我设置窗口的大小。我需要减小大小。 这是我的语法

chrome.windows.create({url : "userinfo.html"});
请帮帮我试试这个

chrome.windows.create({url : "userinfo.html",type: "popup", height: 200, width:200});
请参阅所有可用属性,然后重试此操作

chrome.windows.create({url : "userinfo.html",type: "popup", height: 200, width:200});

有关所有可用属性的信息

您好,您可以建议如何将此弹出窗口放置在中心位置吗?您可以使用“顶部”和“左侧”属性设置位置这对我来说在Mac OS上不起作用。步骤:1。在全屏->2上打开谷歌浏览器。使用chrome.windows.create打开弹出窗口。它将全屏打开一个弹出窗口。您好,您能建议如何在Center上定位此弹出窗口吗?您可以使用“顶部”和“左侧”属性来设置位置这对我来说在Mac OS上不起作用。步骤:1。在全屏->2上打开谷歌浏览器。使用chrome.windows.create打开弹出窗口。它将全屏打开一个弹出窗口。