[webkit-gtk] [Q] How to intercept file requests?

Wang Zhi yfwz100 at hotmail.com
Thu Feb 22 09:39:16 PST 2024


 From the doc, I can use `WebContext.register_uri_scheme()` to intercept 
custom scheme requests and return custom content for them. When I use it 
for file requests, it reports: 'Registering special URI scheme file is 
no longer allowed' but I can't find any docs related to this message. Is 
there any replacement for this method? Or are there other ways to 
intercept the file requests?



More information about the webkit-gtk mailing list