您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name TLS // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://tls.auroralearning.com/** // @grant GM_addStyle // @run-at document-start // ==/UserScript== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle('body { background-color: #363636; }'); addGlobalStyle('.ContentPart { background-color: #363636; }'); addGlobalStyle('.DashBoardHeader { background-color: #1f1f1f; }'); addGlobalStyle('.LeftMenu { background-color: #363636; }'); addGlobalStyle('.intranetheader { COLOR: #878787; }'); addGlobalStyle('.LeftMenuLable { COLOR: #878787; }'); addGlobalStyle('A:link { COLOR: #878787; }'); addGlobalStyle('A:visited { COLOR: #878787; }'); addGlobalStyle('#ctrlPageLeftMenu_divLeftMenu { background-color: #363636; }'); addGlobalStyle('#ctl00_ctrlPageLeftMenu_divLeftMenu{ background-color: #363636; }'); addGlobalStyle('#ctl00_MainBody_lblCourseName { COLOR: #878787; }'); addGlobalStyle('#ctl00_MainBody_dgCourseLessonInfo.DataGridBody { border-color: #000000; }'); //document.getElementById('#ctl00_MainBody_dgCourseLessonInfo_ctl02_lblLessonTest').style.backgroundColor="red"; window.addEventListener('load', function() { var images = document.getElementsByTagName('img'); for (var i = 0; i < images.length; i++) { images[i].src = images[i].src.replace('https://tls.auroralearning.com/Images/plus.gif', 'https://i.imgur.com/h80Jhqu.png'); images[i].src = images[i].src.replace('https://tls.auroralearning.com/SchoolFiles/34/PublicPages/Images/SchoolLogo.jpg', 'https://i.imgur.com/q4Sc86d.png'); images[i].src = images[i].src.replace('https://tls.auroralearning.com/Images/blue_dot.jpg', 'https://i.imgur.com/h5cSKHK.png'); } }, false);