fitten code online ui 优化

fitten code

2024-10-09 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         fitten code online ui 优化
// @namespace    http://tampermonkey.net/
// @version      2024-10-09.12
// @license      TIM
// @description  fitten code 
// @author       You
// @match        https://code.fittentech.com/playground
// @icon         https://www.google.com/s2/favicons?sz=64&domain=fittentech.com
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    window.onload = function () {
        console.log("所有内容都已加载完毕");
        myFunction();
    };

    function myFunction() {
        let e = document.querySelector(".iframes-container>iframe:first-of-type");
        e.style.position = "absolute";
        e.style.height = "calc(100vh - 3rem)";
        e.style.width = "100%";
        e.style.zIndex = "999";
        e.style.marginTop = "3rem";

        let h = document.querySelector("header");
        h.style.zIndex = "9999";
        h.style.height = "3rem";

        let f = document.querySelector(".page-wrapper #download");
        f.style.padding = "0";
        f.style.alignItems = "unset";
        f.style.flexDirection = "unset";
        f.style.display = "unset";

        document.querySelector(".iframes-container").style.display = "unset";
        document.querySelector(".page-wrapper").style.overflow = "unset";
        document.querySelector(".iframe-intro-text").remove();
        document.querySelectorAll(".header-navigation ul.navigation-box > li").forEach(function (item) {
            item.style.padding = "0.5rem"; // 设置内边距为0
        });
    }

    // Your code here...


})();