Home
Sign Up
Sign In
V2EX
›
Electron
electron 如何拦截页面跳转?
SystemLight
·
SystemLight
·
Mar 4, 2021
· 2808 views
This topic created in 2080 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
Vegetable
Mar 4, 2021
1
https://www.electronjs.org/docs/api/web-contents#event-will-navigate
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2106 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 04:29
·
PVG 12:29
·
LAX 20:29
·
JFK 23:29
♥ Do have faith in what you're doing.
❯