Chrome plug-in development, can you configure a new pop-up page, similar to js using window.open pop-up?

as the title, I simply used the Chrome plug-in development and found that I only found a way to pop up a floating page on the original web page. The disadvantage is that the rest of the page will disappear with one click.

now I have a need to pop up a new page with a fixed width and height instead of a floating layer, which is similar to the page that pops up after clicking on the following code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script type="text/javascript">
    function openNewWin(url, title)
    {
        window.open(url, title, "location=no,status=no,scrollvars=no");
    }
</script>
<a href="javascript:openNewWin("http://www.google.com", "google")">google</a>

</body>
</html>

I don"t know if there is a way to set this? Please ~


manifest.json :

  

it is recommended that you use div to cover one layer directly on the page, because even if window.open is restricted for security reasons, unless there is user action.

Menu