How does the new Electron window appear at the front?

I made a simple chat program with Electron. When the user is playing a full-screen game, if there is a new message, I hope a line of background text appears at the top of the display screen to tell the user the new message content without disturbing the user.
how to use BrowserWindow to create a borderless window, how to force the game to be displayed at the front when the game is running full screen?
many games have do not disturb settings, after turning on do not disturb, some system prompts will be automatically blocked, how to force the display of message reminders?
ask the Great God for answers, thank you!

Aug.03,2021
There is a win.setAlwaysOnTop () method in the

Electron BrowserWindows class to achieve window topping.
Portal: https://electronjs.org/docs/a.

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-1b37c5b-2c0c4.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-1b37c5b-2c0c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?