This file contains 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 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 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 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 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); |
This file contains 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.openDevTools({mode: "undocked"}); | |
} |
This file contains 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("context-menu", (e, props) => { | |
const menu = new electron.Menu(); |
This file contains 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> | |
Text | |
</body> | |
</html> |
This file contains 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> | |
CLICK ME | |
</body> | |
</html> |
This file contains 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> | |
<style> | |
body { | |
background: black; | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; |
NewerOlder