Does this https page load anything over http?
Enter the address of an https page. You get every image, script, stylesheet, frame and form on it that uses http, and whether browsers block it, upgrade it or warn.
What it checks
- Everything the page loads. Images (from src, srcset and picture), audio and video, scripts, stylesheets (and @import in style blocks), frames, objects, icons and preloads whose address is http once relative addresses and any base address are worked out.
- Forms. Forms, and buttons with their own form address, that send to http.
- What browsers do with each. Following the W3C Mixed Content specification and MDN: images from src, audio and video are upgraded to https. Images from srcset or picture, anything on an IP address and every other kind are blocked. For forms, the specification lets browsers warn or block.
- upgrade-insecure-requests. Whether the page asks browsers to upgrade every request to https, in its Content-Security-Policy header or in a meta tag.
What it can't see
Files that JavaScript adds after the page loads, and requests that scripts make themselves.
Files named inside stylesheets and scripts, such as fonts and background images. Only the page's own HTML is read.
Whether an upgraded file exists on https. If it does not, it simply does not show.
Pages behind a login, and anything after the first 750 KB of a page. One page per check. Links to other pages are left out, because following a link to an http page is not mixed content.
Questions
What is mixed content?
An https page that pulls in something over plain http. The page itself is encrypted, but that file is not, so it could be read or changed on the way. That is why browsers block most of it.
How do I fix it?
Change http:// to https:// in each address, after checking that the file opens over https. If it does not, host the file yourself or remove it. After moving a site to https, a search and replace of the old address in the database and the theme fixes most cases.
Is upgrade-insecure-requests enough?
It makes browsers ask for files over https, and a file that is not there fails with no fallback to http. It is a safety net, not a fix, and it does not replace HSTS for visitors who arrive on http.
Why are srcset images blocked when src images are not?
The W3C specification upgrades images loaded from src but, for historical reasons, not images picked from srcset or picture. Those are blocked instead.