FORCE HTTPS

Redirects from HTTP to HTTPS

目前為 2021-07-08 提交的版本,檢視 最新版本

// ==UserScript==
// @name         FORCE HTTPS
// @version      1.0
// @author       NextDev65
// @description  Redirects from HTTP to HTTPS
// @match        http://*/*
// @exclude      http://localhost*/*
// @exclude      http://127.0.0.1/*
// @run-at       document-start
// @grant        none
// @namespace https://greasyfork.org/users/702981
// ==/UserScript==

(function() {
    'use strict';
    // @noframes
    window.location.protocol = 'https:';
})();