Home
Sign Up
Sign In
V2EX
›
Electron
electron 如何拦截页面跳转?
SystemLight
·
SystemLight
·
Mar 4, 2021
· 2756 views
This topic created in 2047 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
·
Privacy
·
Solana
·
4341 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 05:27
·
PVG 13:27
·
LAX 22:27
·
JFK 01:27
♥ Do have faith in what you're doing.
❯