HTTP to HTTPS

将一些支持 https 的但是没有做跳转的网站跳到 https

目前为 2017-07-30 提交的版本。查看 最新版本

// ==UserScript==
// @name            HTTP to HTTPS
// @namespace       https://lisonfan.com/
// @version         0.1.2
// @description     将一些支持 https 的但是没有做跳转的网站跳到 https
// @author          LisonFan
// @match           http://*.youku.com/*
// @match           http://*.bilibili.com/*
// @match           http://*.jd.com/*
// @match           https://www.soku.com/*
// @grant           none
// @license         MIT License
// ==/UserScript==

(function() {
    'use strict';
    if (location.protocol=='http:') location.protocol = "https:";
    
    var soku_url = location.hostname;
    if (soku_url == 'www.soku.com'){
        if (location.protocol=='https:') location.protocol = "http:";
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址