I maybe stupid but i’ve been looking for an anwser for the past 2 hours.
I have this webview that i load like this :
<webview id="link-view" src="http://url.espace.com/" preload="./preload.js" autosize="on" partition="persist:link"></webview>
In the preload.js file which is in the same directory i have this :
This does not work, can somebody explain this to me ?