Block images with HTTP URLs from HTTPS pages
This blocks images loaded with the insecure HTTP protocol from a secure HTTPS page. It seems that other kind of content is already blocked.
Ideally, Konqueror should provide a way for the user to allow loading specific images; the best way would be to have a message widget in the view which attempted to load the image informing the user of the fact. Unfortunately, QWebEngineUrlRequestInterceptor
doesn't provide a way to know from which page the request originated, so that can't be done (we could attempt to use some heuristic to guess the page, but I don't think they could be reliable enough).
The only alternative I can think of are:
- having a global list of URLs to allow. It requires that, when images are blocked, their URLs are displayed somewhere. Since we can't know which page requested them, I don't really know where this could be done
- having a menu entry which allows to temporarily disable blocking of insecure images
- having an option in the configuration dialog to permanently disable blocking of insecure images.
I don't really like any of these options, so (at least for the time being) I haven't implemented any way to disable this new behavior. This is consistent with what we do for all other kind of content and, as far as I can tell, it's the same behavior as Chrome.