您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Injects custom CSS on any Schoolloop portal
// ==UserScript== // @name Custom SchoolLoop // @version 1 // @grant none // @include https://*.schoolloop.com/* // @description Injects custom CSS on any Schoolloop portal // @namespace https://greasyforks.org/users/161237 // ==/UserScript== function addCss(cssString) { var head = document.getElementsByTagName('head')[0]; var newCss = document.createElement('style'); newCss.type = "text/css"; newCss.innerHTML = cssString; head.appendChild(newCss); } // CSS Injector addCss ( '#container_header_links { background-color: #bb4a4a !important; } .icon_settings2 { border-left: 0 !important; } .link_block_sm { border-right: 0 !important; } #container_header_top a, .red { color: white; } .header_icons a { color: #bb4a4a !important; } .header_icons a:hover { background-color: rgba(135, 157, 252, 0.5) !important; } a.icon_calendar:hover { border-radius: 0 3px 3px 0 !important; } a.icon_locker:hover, a.icon_dropbox:hover { border-radius: 0 !important; } a.icon_mail:hover { border-radius: 3px 0 0 3px !important; } .header_icons { background: none !important; background-color: rgb(242, 240, 233) !important; }' ); // Injects custom CSS on any Schoolloop portal