Greasy Fork is available in English.

重定向Awakened.work为https

重定向SetupVPN插件的启动界面至HTTPS避免启动失败

// ==UserScript==
// @name         重定向Awakened.work为https
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  重定向SetupVPN插件的启动界面至HTTPS避免启动失败
// @author       coccvo
// @match        http://1.awakened.work/*
// @icon         https://1.awakened.work/ui/favicon.ico
// @run-at       document-start
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    // Check if the current protocol is HTTP
    if (window.location.protocol === 'http:') {
        // Redirect to the same URL with HTTPS
        window.location.href = window.location.href.replace('http:', 'https:');
    }
})();