Greasy Fork is available in English.

防止要福利部分链接二次跳转乱码

替换要福利href中的网址,防止二次跳转乱码

// ==UserScript==
// @name         防止要福利部分链接二次跳转乱码
// @namespace    https://github.com/dadaewqq/fun
// @version      0.2
// @description  替换要福利href中的网址,防止二次跳转乱码
// @author       dadaewqq
// @match        https://1fuli.xyz/*
// @match        https://1fuli.life/*
// @match        https://www.yeeach.com/*
// @match        https://www.xunihao.org/*
// @match        https://seju.life/*
// @icon         https://1fuli.xyz/favicon.ico
// @grant        none
// @license      MIT
// ==/UserScript==


(function() {
    'use strict';

    $(document).ready(function() {
    $('a[href*="https://jubt.top"]').each(function() {
        var href = $(this).attr('href');
        $(this).attr('href', href.replace('https://jubt.top', 'https://jubt.fun'));
    });
});

})();