JSFiddle - React, Tailwind, and code Playground
by Qwerty_Wasd
HTML
<input type="button" value="название кнопки" onclick="this.win = this.win ? this.win.close() : window.open('http://www.google.com', 'Window', 'fullscreen')">
by Qwerty_Wasd
<input type="button" value="название кнопки" onclick="this.win = this.win ? this.win.close() : window.open('http://www.google.com', 'Window', 'fullscreen')">