Force HTTP to HTTPS

Force HTTP links to use HTTPS. You need to write your own @match or @include rules!

目前為 2020-08-01 提交的版本,檢視 最新版本

作者
r-a-y
評價
0 0 0
版本
1.0.0
建立日期
2018-02-26
更新日期
2020-08-01
尺寸
417 位元組
授權條款
未知
腳本執行於

A simple userscript to easily force HTTP links to use HTTPS.

Note: This userscript adds an example @match rule, but you should use your userscript manager to write your own @match rules, so you can manage which sites should be forced to use HTTPS.

This can be easily done in FireMonkey or ViolentMonkey by editing the script and clicking on the "Settings" tab. There, you can write and manage your own rules.

Haven't tested Greasemonkey or Tampermonkey.

Note 2: This userscript will only work for sites that support HTTPS, but for some reason defaults to using HTTP like apache.org. If a site only supports HTTP, then obviously this script will not work and you will run into your browser's "Secure connection failed" page or an infinite redirect loop depending on your HTTP site.