How to hide address bar of webview in electron?


#1

Hello everyone,

I want to make an electron app in which I’m using WebView.
I do not want my user to find out which address he/she is being redirected on.

So, How do I hide the address bar of webview in my electron app ?

Thank you


#2

What address bar? Electron doesn’t have a built-in address bar.


#3

Oh yes, you are right.
Actually I’m a beginner and following this example https://github.com/hokein/electron-sample-apps/tree/master/webview/browser to load a specific url.

And i do not want to give user an access to change that url.

Any suggestions ?
can i get any example code to load a url into webview using electron ?