How to get url from new-window?


#1

how to get url from new-window ?
I want to use a link from New-Window To do something


#2

Hello,
Answer in the electron documentation:
https://electron.atom.io/docs/api/webview-tag/#event-new-window

webview.addEventListener('new-window', (e) => {
console.log(e.url)
 }

How to check url