This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
const electron = require('electron'); | |
const path = require("path"); | |
const fs = require('fs'); | |
let mainWindow | |
function createWindow() { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const electron = require("electron"); | |
const { app, BrowserWindow, BrowserView, session, ipcMain } = require("electron"); | |
const path = require("path"); | |
app.on("ready", () => { | |
let windows = []; | |
function start() { | |
let mainWindow = new BrowserWindow({ | |
show: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
const electron = require('electron'); | |
const path = require("path"); | |
const fs = require('fs'); | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
const electron = require('electron'); | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, | |
width: 1000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
const electron = require('electron'); | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, | |
width: 1000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<webview src="https://www.google.com"/> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow, ipcMain, WebContentsView} = require('electron') | |
const path = require('path') | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow, ipcMain, WebContentsView} = require('electron') | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, | |
width: 1000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow, ipcMain, WebContentsView} = require('electron') | |
let mainWindow | |
function createWindow () { | |
const mainWindow1 = new BrowserWindow({ | |
x: 0, | |
y: 0, | |
width: 1000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let { app, BrowserWindow, ipcMain, session} = require("electron") | |
const electron = require("electron"); | |
function createWindow() { | |
let win = new BrowserWindow({ | |
}) | |
win.loadURL("https://www.example.com"); | |
win.webContents.on("before-input-event", (event, input) => { | |
console.log("before-input-event",input); |
NewerOlder