cleanTPlink

clean http://192.168.1.24/ ads

目前為 2025-10-02 提交的版本,檢視 最新版本

// ==UserScript==
// @name         cleanTPlink
// @namespace    http://tampermonkey.net/
// @version      0.22
// @description  clean http://192.168.1.24/ ads
// @author       [email protected]
// @match        192.168.1.24/*
// @match        192.168.0.1/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=1.24
// @grant        none
// @license      MIT
// @run-at       document.body
// ==/UserScript==

(function() {
    'use strict';
    var css = [
        '#basicSCon{height:calc(100% - 80px)!important;}',
        '#bConFun li>div[id]{height:45px!important}',
        'ul.basicMenuUl h2{padding-top:.5em!important}',
        '#QRCode img{margin:3px 0 0 3px!important}',
        '#bConFun li>div>i[class^="menu"]{display:none!important}',
        'div.bConfRCnt{width:calc(100% - 200px)!important;}',
        '.dataGrid_header_tr td:nth-child(2){width:fit-content!important}',
        'div.appConC,div.eptConC{margin-bottom: 10px!important}',
        'ul.basicMenuUl li div{margin:.25em auto 0!important}',
        '#bConFun,ul.basicMenuUl,ul.basicMenuUl li{height:auto!important;min-height:auto!important;overflow:visible!important}',
        '#eptMngRCon{width:unset!important}',
        'div.bConfLCnt{max-width:300px}',
        '.cloudIdCon{padding-top:unset!important;line-height:30px}',
        '#headCnt,#headLCnt{min-height:unset!important;background-color:rgb(176, 203, 51);}',
        '#tpLogo{transform: translateY(-11px);height:30px} .#headLCnt > .logoCon{position:unset!important}',
        '#headCnt{display:flex;justify-conent:space-between;}',
        '#Con > #basicContent{height:100%!important}',
        'i#netStateArrow,i#routeMgtArrow,i#appsMgtArrow,i#routeSetArrow{border-left:.83em solid transparent!important;border-right:.83em solid transparent!important;border-bottom:.83em solid transparent!important;transform:translateY(-10px) rotate(180deg)!important;}',
    ].join('')
    var style = document.createElement('style'); style.innerText = css;
    document.querySelector('head').appendChild(style)
})();