CSP - Upgrade Insecure Requests

Tries to upgrade HTTP assets to HTTPS using CSP

Author
r-a-y
Daily installs
0
Total installs
45
Ratings
0 0 0
Version
1.0.0
Created
2020-11-01
Updated
2020-11-01
License
N/A
Applies to
All sites

If you're using Firefox 83, just use the built-in HTTPS-only mode.

For everyone else, this userscript attempts to upgrade all HTTP assets to HTTPS using the upgrade-insecure-requests CSP directive. This should fix some mixed content issues that are popping up more on more on updated browsers.

You might also want to check out my Force HTTP to HTTPS userscript if you want to force HTTP sites to HTTPS on a manual basis.