Devuplads Remove Bloat

show only download button and try click

目前為 2024-02-11 提交的版本,檢視 最新版本

// ==UserScript==
// @name                Devuplads Remove Bloat
// @namespace           https://greasyfork.org/users/821661
// @match       	    https://devuploads.com/*
// @match       	    https://thecubexguide.com/*
// @match       	    https://djxmaza.in/*
// @match       	    https://jytechs.in/*
// @match       	    https://dev.miuiflash.com/*
// @grant               GM_addStyle
// @run-at              document-start
// @version     	    1.1.7.5
// @author      	    hdyzen
// @license 		    MIT
// @description show only download button and try click
// ==/UserScript==
'use strict';

if (location.hostname === 'devuploads.com') {
    GM_addStyle(`
    body:not(:has(#container)) {
        background-color: #131316 !important;
    }
    body {
        overflow: hidden;
        & .shadow-lg {
            box-shadow: none !important;
        }
    }
    #folders_paging {
        display: none !important;
    }

    #container {
        max-width: unset !important;
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background-color: #131316 !important;
        margin: 0 !important;
        z-index: 214748364 !important;
        & .filesof {
            color: #8f91a3 !important;
        }
        & .bg-white {
            background-color: #1b1b1f !important;
        }
        & .form-control,
        & .paging {
            background-color: inherit !important;
            color: #cccee7;
            &::placeholder {
                color: #8f91a3;
            }
        }
        & .border-bottom {
            border-color: #1b1b1f !important;
        }
        & .title a {
            color: #cccee7 !important;
        }
        & i.fas {
            background: #bac3ff;
            background-clip: text;
        }
        & .fa-magnifying-glass {
            color: #bac3ff !important;
        }
    }
    `);
} else {
    GM_addStyle(`
    body {
        overflow: hidden !important;
    }
    div.download-btn,
    :is(#plzwait, #downloadNow, #adBlocked, #Blocked)[style*='block'] {
        max-width: unset !important;
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background-color: #131316 !important;
        margin-bottom: 0 !important;
        z-index: 214748364 !important;
        & > p {
            color: #bac3ff !important;
        }
        & > :is(.downloadbtn, a) {
            width: 400px !important;
            max-width: 70% !important;
            background: #293ca0 !important;
            border-color: #4355b9 !important;
            border-radius: 1rem !important;
            &:hover {
                background: #3b4ba0 !important;
                border-color: #5766b9 !important;
            }
        }
    }
    `);
}