Home
Sign Up
Sign In
V2EX
›
Electron
electron 如何拦截页面跳转?
SystemLight
·
SystemLight
·
Mar 4, 2021
· 2607 views
This topic created in 1938 days ago, the information mentioned may be changed or developed.
视图部分时通过外部 URL 载入的,如
http://www.baidu.com
内部没有任何 electron 代码,也无法写入
如何通过 electron 主进程获取内部跳转的信息,并拦截处理。
Electron
拦截
URL
写入
1 replies
•
2021-03-04 16:01:01 +08:00
1
Vegetable
Mar 4, 2021
https://www.electronjs.org/docs/api/web-contents#event-will-navigate
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3126 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 6b34f497 · 80ms ·
UTC 14:00
·
PVG 22:00
·
LAX 07:00
·
JFK 10:00
♥ Do have faith in what you're doing.
❯