Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how Intercept and filter files or requests ? #1380

Closed
wall-git opened this issue May 12, 2024 · 2 comments
Closed

how Intercept and filter files or requests ? #1380

wall-git opened this issue May 12, 2024 · 2 comments

Comments

@wall-git
Copy link

How to modify the content (encryption and decryption of static files) during HTML file or request loading is similar to the WebResourceRequested event in webview2?

@wall-git wall-git closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
@wall-git wall-git reopened this May 12, 2024
@Xanderplayz16
Copy link
Contributor

Xanderplayz16 commented May 12, 2024

See issue 1371:

r0x0r: Currently no, but I have been planning to add editing requests and responses. Help is welcomed.

@wall-git
Copy link
Author

wall-git commented May 13, 2024

#1371 thanks , I have seen your reply, and indeed, there is currently no better solution.

I have read that the source code file or request loading is implemented internally in webview, and each platform is different.
If you want to be compatible with all platforms, it is difficult. It may be fine to implement this feature, but if there are other interfaces to implement, the burden on the author would be too heavy.
I am wondering if it is possible to implement my own webview interface for a certain platform by opening custom events. 

Pywebview does not implement specific interfaces, it simply interacts with the customized interface directly, which is written by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants