小编Cai*_*kai的帖子

Electron:如何在同一窗口中打开网址,并在用户执行某些操作后返回到同一窗口中的应用程序

I have an Electron app that is displayed using BrowserWindow. I want to open an external URL in the same window so that the user can log in (to an external website) and after the user logs in it should display the Electron application again instead of the external website that the user used to log in.

I've been able to open the external url in the same window by using:

<a href="https://loginsite-example.com" target="_blank" rel="noreferrer">
  site where you have …
Run Code Online (Sandbox Code Playgroud)

javascript reactjs electron

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

electron ×1

javascript ×1

reactjs ×1