How does JS click on a link and the window that pops up is full-screen open, the kind that is maximized?

< body >
Jump
< / body >
< script >
function openNew (url) {

var can = `top=0, left=0,
titlebar=no,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no,channelmode`;
var win = window.open(url, "", can);
win.resizeTo(screen.width, screen.height)

}
< / script >
this is my code, but opening a new page is not maximizing, it has a border, how can it be maximized?

Feb.17,2022

look here http://www.w3school.com.cn/js.

clipboard.png
window.open (url,'','fullscreen=1');
fullscreen can control full screen

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb045b-22b7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb045b-22b7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?