Fix Typingclub's bug.(修复typingclub.com的bug)

Fix Typingclub's bug.

目前為 2021-10-24 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Fix Typingclub's bug.(修复typingclub.com的bug)
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Fix Typingclub's bug.
// @author       XSlime_001
// @match        https://www.typingclub.com/*
// @icon         https://www.google.com/s2/favicons?domain=typingclub.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.querySelectorAll("link").forEach(function(c,a,b){
        document.querySelectorAll("link")[a].href = document.querySelectorAll("link")[a].href.replace("static.","");
    });
    document.querySelectorAll("script").forEach(function(c,a,b){
        document.querySelectorAll("script")[a].src = document.querySelectorAll("script")[a].src.replace("static.","");
    });
    document.querySelectorAll("img").forEach(function(c,a,b){
        document.querySelectorAll("img")[a].src = document.querySelectorAll("img")[a].src.replace("static.","");
    });
})();