Answers for "chrome command open in new window"

4

javascript open in new window not tab

//open in new window, not new tab
window.open('https://www.codegrepper.com', '_blank', 'toolbar=0,location=0,menubar=0');
Posted by: Guest on August-05-2019
1

electron open new window

const button = document.getElementById('<your_button_id>');
button.addEventListener('click', () => {
  createBrowserWindow();
});

function createBrowserWindow() {
  const remote = require('electron').remote;
  const BrowserWindow = remote.BrowserWindow;
  const win = new BrowserWindow({
    height: 600,
    width: 800
  });

  win.loadURL('<url>');
}
Posted by: Guest on March-30-2020

Code answers related to "chrome command open in new window"

Code answers related to "Javascript"

Browse Popular Code Answers by Language