Webview history handle


#1

Hi,

I have a question about the webview history : I can display the history array of a webview using:

console.lo(webview.getWebContents().history)

I’m also using webview.goBack() and webview.goForward() to go back and go forward. It works.

My question is : How can I observe changes on the array webview.getWebContents().history

There is no Listener in webContent allowing to add events listener on history changing.

I whould like to do “actions” when the array of history of a webview is modified (add, delete, update)

Is this possible?