Greasy Fork is available in English.

center relaylinx

居中Relaylinx的Logo

// ==UserScript==
// @name         center relaylinx
// @namespace    relaylinx
// @version      2024-11-09
// @description  居中Relaylinx的Logo
// @author       SilmonFish
// @match        *://app.relaylinx.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    function checkObj() {
        let t = setInterval(function () {
            let h2s = document.getElementsByTagName("h2");
            for (var i = 0; i < h2s.length; i++) {
                if (h2s[i].innerHTML == "Relaylinx") {
                    h2s[i].style.marginLeft = 0;
                    clearInterval(t);
                    break;
                }
            }
        }, 500);
    }
    checkObj()
})();