Python PyQT5 webview在需要插件时混合url

2024-06-11 02:14:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我在web视图中成功地加载了一个url,但是当需要一个插件时,源url是混合的,因此即使后面的url是https,也会出现混合内容错误。在

准确的误差是:

js: Mixed Content: The page at 'https://ww1.jeppesen.com/icharts/index.jsp' was loaded over HTTPS, but requested an insecure resource 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html?https://ww1.jeppesen.com/icharts/pdfchart%3Fdocid%3D1134104263'. This content should also be served over HTTPS.

因为网站需要我提供的帐户和图片:

enter image description here

我的代码:

^{pr2}$

Tags: httpscom插件视图weburl内容index